summaryrefslogtreecommitdiffstats
path: root/Doc/library/dis.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-06 08:43:56 (GMT)
committerGeorg Brandl <georg@python.org>2010-10-06 08:43:56 (GMT)
commit23b4f927d5e1c55ee0ff26570dfcaf3f307254fe (patch)
tree4d545a0aeb81b8fee1c18df4ab9f148b75248012 /Doc/library/dis.rst
parent13f959b50185bc664497d95f3d370aa9aad34365 (diff)
downloadcpython-23b4f927d5e1c55ee0ff26570dfcaf3f307254fe.zip
cpython-23b4f927d5e1c55ee0ff26570dfcaf3f307254fe.tar.gz
cpython-23b4f927d5e1c55ee0ff26570dfcaf3f307254fe.tar.bz2
Merged revisions 84142 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k ........ r84142 | georg.brandl | 2010-08-17 17:07:14 +0200 (Di, 17 Aug 2010) | 1 line Consistency check for versionadded/changed directives. ........
Diffstat (limited to 'Doc/library/dis.rst')
-rw-r--r--Doc/library/dis.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 49b5673..39c11f3 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -38,14 +38,14 @@ The :mod:`dis` module defines the following functions and constants:
.. function:: dis(x=None)
- Disassemble the *x* object. *x* can denote either a module, a
- class, a method, a function, a code object, a string of source code or a
- byte sequence of raw bytecode. For a module, it disassembles all
- functions. For a class, it disassembles all methods. For a code object
- or sequence of raw bytecode, it prints one line per bytecode instruction.
- Strings are first compiled to code objects with the :func:`compile`
- built-in function before being disassembled. If no object is provided,
- this function disassembles the last traceback.
+ Disassemble the *x* object. *x* can denote either a module, a class, a
+ method, a function, a code object, a string of source code or a byte sequence
+ of raw bytecode. For a module, it disassembles all functions. For a class,
+ it disassembles all methods. For a code object or sequence of raw bytecode,
+ it prints one line per bytecode instruction. Strings are first compiled to
+ code objects with the :func:`compile` built-in function before being
+ disassembled. If no object is provided, this function disassembles the last
+ traceback.
.. function:: distb(tb=None)