From dcd05006648cc8b3e47d08554497c0bfd0b50655 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Wed, 26 Jun 2002 22:32:47 +0000 Subject: dis.dis() also supports modules --- Doc/lib/libdis.tex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- cgit v0.12