summaryrefslogtreecommitdiffstats
path: root/Doc/library/dis.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-10-12 10:42:08 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-10-12 10:42:08 (GMT)
commit7fa822275bb9744440f1636345319feaf1669126 (patch)
tree02f85dc0dcd510c1a8516dcd2f59c11940f3d979 /Doc/library/dis.rst
parent35cbf16202d2bb6ed8ca6b51f8513f71d9d41ccc (diff)
downloadcpython-7fa822275bb9744440f1636345319feaf1669126.zip
cpython-7fa822275bb9744440f1636345319feaf1669126.tar.gz
cpython-7fa822275bb9744440f1636345319feaf1669126.tar.bz2
Fix links to the __next__ method.
Diffstat (limited to 'Doc/library/dis.rst')
-rw-r--r--Doc/library/dis.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 79cc583..108cda7 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -658,10 +658,10 @@ the more significant byte last.
.. opcode:: FOR_ITER (delta)
- ``TOS`` is an :term:`iterator`. Call its :meth:`__next__` method. If this
- yields a new value, push it on the stack (leaving the iterator below it). If
- the iterator indicates it is exhausted ``TOS`` is popped, and the byte code
- counter is incremented by *delta*.
+ ``TOS`` is an :term:`iterator`. Call its :meth:`~iterator.__next__` method.
+ If this yields a new value, push it on the stack (leaving the iterator below
+ it). If the iterator indicates it is exhausted ``TOS`` is popped, and the
+ byte code counter is incremented by *delta*.
.. opcode:: LOAD_GLOBAL (namei)