dis.cmp_op Sequence of all compare operation names.
is_parameter() Return True if the symbol is a parameter.
class ast.NodeTransformer A NodeVisitor subclass that walks the abstract syntax tree and allows modification of
dis.opmap Dictionary mapping operation names to bytecodes.
get_locals() Return a tuple containing names of locals in this function.
parser.expr(source) The expr() function parses the parameter source as if it were an input to compile(source
dis.get_instructions(x, *, first_line=None) Return an iterator over the instructions in the supplied function, method, source
is_global() Return True if the symbol is global.
dis.hasfree Sequence of bytecodes that access a free variable (note that ‘free’ in this context refers to names in the current
dis.distb(tb=None, *, file=None) Disassemble the top-of-stack function of a traceback, using the last traceback if none was
Page 3 of 15