summaryrefslogtreecommitdiffstats
path: root/Doc/library/pickletools.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/pickletools.rst')
-rw-r--r--Doc/library/pickletools.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/pickletools.rst b/Doc/library/pickletools.rst
index ec220d9..a19b978 100644
--- a/Doc/library/pickletools.rst
+++ b/Doc/library/pickletools.rst
@@ -29,9 +29,9 @@ probably won't find the :mod:`pickletools` module relevant.
.. function:: genops(pickle)
- Provides an iterator over all of the opcodes in a pickle, returning a sequence
- of ``(opcode, arg, pos)`` triples. *opcode* is an instance of an
- :class:`OpcodeInfo` class; *arg* is the decoded value, as a Python object, of
- the opcode's argument; *pos* is the position at which this opcode is located.
+ Provides an :term:`iterator` over all of the opcodes in a pickle, returning a
+ sequence of ``(opcode, arg, pos)`` triples. *opcode* is an instance of an
+ :class:`OpcodeInfo` class; *arg* is the decoded value, as a Python object, of
+ the opcode's argument; *pos* is the position at which this opcode is located.
*pickle* can be a string or a file-like object.