mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix var name.
This commit is contained in:
parent
9155aa742c
commit
c14bb758b2
1 changed files with 1 additions and 1 deletions
|
@ -671,7 +671,7 @@ available. They are listed here in alphabetical order.
|
|||
|
||||
.. function:: next(iterator[, default])
|
||||
|
||||
Retrieve the next item from the *iterable* by calling its :meth:`__next__`
|
||||
Retrieve the next item from the *iterator* by calling its :meth:`__next__`
|
||||
method. If *default* is given, it is returned if the iterator is exhausted,
|
||||
otherwise :exc:`StopIteration` is raised.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue