summaryrefslogtreecommitdiffstats
path: root/Doc/library/dis.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-10-12 16:04:32 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-10-12 16:04:32 (GMT)
commit143d034ecd110f8543eba4ad76dfb6085cdaeb3d (patch)
tree9ddcfc6fe0d0cf8ce8558f88969bf1f9e98c1d25 /Doc/library/dis.rst
parentc3de6d63cd20cd26a288999d454124cb72eb57fe (diff)
parent7a9953edfbbd51dbda60ab31c0e5db5eea968b53 (diff)
downloadcpython-143d034ecd110f8543eba4ad76dfb6085cdaeb3d.zip
cpython-143d034ecd110f8543eba4ad76dfb6085cdaeb3d.tar.gz
cpython-143d034ecd110f8543eba4ad76dfb6085cdaeb3d.tar.bz2
merge 3.2
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 6d08a0c..854c521 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -660,10 +660,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)