]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
More user friedly interface:
authorGuido van Rossum <guido@python.org>
Fri, 17 Jan 1997 20:05:04 +0000 (20:05 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 17 Jan 1997 20:05:04 +0000 (20:05 +0000)
commitbd30795192f1e74ef1fae06eefc1f225193f49fb
treeb6c512defb84ed41ebce9e271ec118a812fa19fb
parentc905fffa1524694ca5600c301230b4b707469e82
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.
Lib/dis.py