Mercurial > cpython-lru_cache-weakref
diff Doc/tutorial/classes.rst @ 58749:63b3a65aff52
Recorded merge of revisions 78024 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78024 | georg.brandl | 2010-02-06 19:44:44 +0100 (Sa, 06 Feb 2010) | 1 line
#5341: fix "builtin" where used as an adjective ("built-in" is correct).
........
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Sat, 06 Feb 2010 18:46:57 +0000 |
| parents | afbb2b2ff6f7 |
| children | 8df619259056 |
line wrap: on
line diff
--- a/Doc/tutorial/classes.rst Sat Feb 06 18:29:29 2010 +0000 +++ b/Doc/tutorial/classes.rst Sat Feb 06 18:46:57 2010 +0000 @@ -717,7 +717,7 @@ container one at a time. When there are no more elements, :meth:`__next__` raises a :exc:`StopIteration` exception which tells the :keyword:`for` loop to terminate. You can call the :meth:`__next__` method using the :func:`next` -builtin; this example shows how it all works:: +built-in function; this example shows how it all works:: >>> s = 'abc' >>> it = iter(s)
