]> granicus.if.org Git - python/commitdiff
Fix var name.
authorGeorg Brandl <georg@python.org>
Tue, 29 Apr 2008 21:00:18 +0000 (21:00 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 29 Apr 2008 21:00:18 +0000 (21:00 +0000)
Doc/library/functions.rst

index 52ce6c6709e9c80104d3a8d624339fdc44421c86..4fbb5e540d527dc3bd3feb3f121d6488680e73e6 100644 (file)
@@ -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.