diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-06-26 22:32:47 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-06-26 22:32:47 (GMT) |
commit | dcd05006648cc8b3e47d08554497c0bfd0b50655 (patch) | |
tree | 58d938ad31ae03af5004c02e715f5bfe7a9631e7 /Doc/lib | |
parent | c70815ac0f6aff2047649a2fd20982c976a43a70 (diff) | |
download | cpython-dcd05006648cc8b3e47d08554497c0bfd0b50655.zip cpython-dcd05006648cc8b3e47d08554497c0bfd0b50655.tar.gz cpython-dcd05006648cc8b3e47d08554497c0bfd0b50655.tar.bz2 |
dis.dis() also supports modules
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libdis.tex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/lib/libdis.tex b/Doc/lib/libdis.tex index 90f83a3..e0dfcf9 100644 --- a/Doc/lib/libdis.tex +++ b/Doc/lib/libdis.tex @@ -38,7 +38,8 @@ The \module{dis} module defines the following functions and constants: \begin{funcdesc}{dis}{\optional{bytesource}} Disassemble the \var{bytesource} object. \var{bytesource} can denote -either a class, a method, a function, or a code object. For a class, +either a module, a class, a method, a function, or a code object. +For a module, it disassembles all functions. For a class, it disassembles all methods. For a single code sequence, it prints one line per byte code instruction. If no object is provided, it disassembles the last traceback. |