summaryrefslogtreecommitdiffstats
path: root/Lib/dump.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-01-17 20:05:04 (GMT)
committerGuido van Rossum <guido@python.org>1997-01-17 20:05:04 (GMT)
commitbd30795192f1e74ef1fae06eefc1f225193f49fb (patch)
treeb6c512defb84ed41ebce9e271ec118a812fa19fb /Lib/dump.py
parentc905fffa1524694ca5600c301230b4b707469e82 (diff)
downloadcpython-bd30795192f1e74ef1fae06eefc1f225193f49fb.zip
cpython-bd30795192f1e74ef1fae06eefc1f225193f49fb.tar.gz
cpython-bd30795192f1e74ef1fae06eefc1f225193f49fb.tar.bz2
More user friedly interface:
dis() still disassembles the last frame of the lats stack trace. dis(x) disassembles x, which may be a code object, function, or method. disassemble(co, [lasti]) disassembles a code object; the lasti argument is now optional. disco(...) is an alias for disassemble(...), for backward compatibility.
Diffstat (limited to 'Lib/dump.py')
0 files changed, 0 insertions, 0 deletions