summaryrefslogtreecommitdiffstats
path: root/Doc/library/dis.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-10-21 12:10:28 (GMT)
committerGeorg Brandl <georg@python.org>2007-10-21 12:10:28 (GMT)
commite7a0990113873e5f0cc5cac203f47a8dcbda9848 (patch)
treea19f8f84973bb222ee9564617004c926f41e6100 /Doc/library/dis.rst
parentcf3fb259329eedfa9d2c802b2ea5ced287c21e78 (diff)
downloadcpython-e7a0990113873e5f0cc5cac203f47a8dcbda9848.zip
cpython-e7a0990113873e5f0cc5cac203f47a8dcbda9848.tar.gz
cpython-e7a0990113873e5f0cc5cac203f47a8dcbda9848.tar.bz2
Add :term:s for iterator.
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 85c3030..58276da 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -674,10 +674,10 @@ the more significant byte last.
.. opcode:: FOR_ITER (delta)
- ``TOS`` is an 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 bytecode counter is
- incremented by *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 bytecode
+ counter is incremented by *delta*.
.. % \begin{opcodedesc}{FOR_LOOP}{delta}
.. % This opcode is obsolete.