SIGN IN SIGN UP

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.
G
Guido van Rossum committed
bd30795192f1e74ef1fae06eefc1f225193f49fb
Parent: c905fff