dis.show_code(x, *, file=None) Print detailed code object information for the supplied function, method, source code string
dis.hasname Sequence of bytecodes that access an attribute by name.
ST.isexpr() Same as isexpr(st).
Function.file Name of the file containing the def statement defining the function.
has_exec() Return True if the block uses exec.
dis.get_instructions(x, *, first_line=None) Return an iterator over the instructions in the supplied function, method, source
parser.issuite(st) This function mirrors isexpr() in that it reports whether an ST object represents an 'exec'
pyclbr.readmodule(module, path=None) Read a module and return a dictionary mapping class names to class descriptor objects.
ast.fix_missing_locations(node) When you compile a node tree with
Class.file Name of the file containing the class statement defining the class.
Page 1 of 15