Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9155aa7 commit c14bb75Copy full SHA for c14bb75
1 file changed
Doc/library/functions.rst
@@ -671,7 +671,7 @@ available. They are listed here in alphabetical order.
671
672
.. function:: next(iterator[, default])
673
674
- Retrieve the next item from the *iterable* by calling its :meth:`__next__`
+ Retrieve the next item from the *iterator* by calling its :meth:`__next__`
675
method. If *default* is given, it is returned if the iterator is exhausted,
676
otherwise :exc:`StopIteration` is raised.
677
0 commit comments