symtable.symtable(code, filename, compile_type) Return the toplevel SymbolTable for the Python source code
dis.hasjabs Sequence of bytecodes that have an absolute jump target.
parser.st2list(st, line_info=False, col_info=False) This function accepts an ST object from the caller in st and returns
class dis.Instruction Details for a bytecode operation opcode
dis.findlinestarts(code) This generator function uses the co_firstlineno and co_lnotab attributes
ast.copy_location(new_node, old_node) Copy source location (lineno and col_offset) from old_node
ast.iter_fields(node) Yield a tuple of (fieldname, value) for each field in node._fields that is present
ast.parse(source, filename='', mode='exec') Parse the source into an AST node. Equivalent to compile(source, filename
pickletools.dis(pickle, out=None, memo=None, indentlevel=4, annotate=0) Outputs a symbolic disassembly of the pickle to the file-like object out, defaulting
Class.methods A dictionary mapping method names to line numbers.
Page 7 of 15