diff options
author | Georg Brandl <georg@python.org> | 2007-10-21 12:10:28 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-10-21 12:10:28 (GMT) |
commit | e7a0990113873e5f0cc5cac203f47a8dcbda9848 (patch) | |
tree | a19f8f84973bb222ee9564617004c926f41e6100 /Doc/library/dis.rst | |
parent | cf3fb259329eedfa9d2c802b2ea5ced287c21e78 (diff) | |
download | cpython-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.rst | 8 |
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. |