summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-10-12 14:30:49 -0400
committerBenjamin Peterson <benjamin@python.org>2014-10-12 14:30:49 -0400
commitb460b9af7624ee1f3cfdc05e33f1945f04180580 (patch)
tree6fa9fd15985f03e53a9c8c64ab78e3b8f3e8dc9d
parent0ca3d06129aeca4ac508487f6b06f700dc0fe7d3 (diff)
downloadsix-b460b9af7624ee1f3cfdc05e33f1945f04180580.tar.gz
indicate properly that next = advance_iterator
-rw-r--r--documentation/index.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/index.rst b/documentation/index.rst
index 57786ea..c7ca996 100644
--- a/documentation/index.rst
+++ b/documentation/index.rst
@@ -160,7 +160,7 @@ functions and methods is the stdlib :mod:`py3:inspect` module.
.. function:: next(it)
-.. function:: advance_iterator(it)
+ advance_iterator(it)
Get the next item of iterator *it*. :exc:`py3:StopIteration` is raised if
the iterator is exhausted. This is a replacement for calling ``it.next()``