summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-04-29 21:00:18 (GMT)
committerGeorg Brandl <georg@python.org>2008-04-29 21:00:18 (GMT)
commitc14bb758b2f4111ab4f095d8fe2b6981bd05b185 (patch)
tree4818f450f2366b8a6e02171e41d689b8310c025d /Doc
parent9155aa742cf5342e4033dce01458d0d2d9d54cd9 (diff)
downloadcpython-c14bb758b2f4111ab4f095d8fe2b6981bd05b185.zip
cpython-c14bb758b2f4111ab4f095d8fe2b6981bd05b185.tar.gz
cpython-c14bb758b2f4111ab4f095d8fe2b6981bd05b185.tar.bz2
Fix var name.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/functions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 52ce6c6..4fbb5e5 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -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.