dis.findlinestarts(code) This generator function uses the co_firstlineno and co_lnotab attributes
Function.lineno The line number of the def statement within the file named by file.
class symtable.Function A namespace for a function or method. This class inherits SymbolTable.
ast.increment_lineno(node, n=1) Increment the line number of each node in the tree starting at node by n.
ST.issuite() Same as issuite(st).
parser.suite(source) The suite() function parses the parameter source as if it were an input to compile(source
get_symbols() Return a list of Symbol instances for names in the table.
offset start index of operation within bytecode sequence
get_name() Return the table’s name. This is the name of the class if the table is for a class, the name of the function if the
is_referenced() Return True if the symbol is used in its block.
Page 9 of 15