dis.show_code(x, *, file=None)
Print detailed code object information for the supplied function, method, source code string or code object to file (or sys.stdout
if file is not specified).
This is a convenient shorthand for print(code_info(x), file=file)
, intended for interactive exploration at the interpreter prompt.
New in version 3.2.
Changed in version 3.4: Added file parameter.
Please login to continue.