commit | bd30795192f1e74ef1fae06eefc1f225193f49fb | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Jan 17 20:05:04 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Jan 17 20:05:04 1997 +0000 |
tree | b6c512defb84ed41ebce9e271ec118a812fa19fb | |
parent | c905fffa1524694ca5600c301230b4b707469e82 [diff] |
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.