mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
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). ........
This commit is contained in:
parent
3102bd9afe
commit
c4a55fccab
14 changed files with 46 additions and 43 deletions
|
@ -717,7 +717,7 @@ object that defines the method :meth:`__next__` which accesses elements in the
|
|||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue