diff options
author | Guido van Rossum <guido@python.org> | 1997-01-17 20:05:04 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-01-17 20:05:04 (GMT) |
commit | bd30795192f1e74ef1fae06eefc1f225193f49fb (patch) | |
tree | b6c512defb84ed41ebce9e271ec118a812fa19fb /Lib/dump.py | |
parent | c905fffa1524694ca5600c301230b4b707469e82 (diff) | |
download | cpython-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