parser.ST.compile()
  • References/Python/Python/Language

ST.compile(filename='') Same as compilest(st, filename).

2025-01-10 15:47:30
parser.suite()
  • References/Python/Python/Language

parser.suite(source) The suite() function parses the parameter source as if it were an input to compile(source

2025-01-10 15:47:30
tokenize.detect_encoding()
  • References/Python/Python/Language

tokenize.detect_encoding(readline) The detect_encoding() function is used to detect the encoding that should be

2025-01-10 15:47:30
ast.NodeVisitor.generic_visit()
  • References/Python/Python/Language

generic_visit(node) This visitor calls visit() on all children of the node. Note

2025-01-10 15:47:30
ast.get_docstring()
  • References/Python/Python/Language

ast.get_docstring(node, clean=True) Return the docstring of the given node (which must be a FunctionDef

2025-01-10 15:47:30
parser.ParserError
  • References/Python/Python/Language

exception parser.ParserError Exception raised when a failure occurs within the parser module. This is generally produced for

2025-01-10 15:47:30
symtable.SymbolTable.get_children()
  • References/Python/Python/Language

get_children() Return a list of the nested symbol tables.

2025-01-10 15:47:30
symtable.SymbolTable.get_name()
  • References/Python/Python/Language

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

2025-01-10 15:47:30
dis.findlabels()
  • References/Python/Python/Language

dis.findlabels(code) Detect all offsets in the code object code which are jump targets, and return a list of these

2025-01-10 15:47:30
pyclbr.Function.lineno
  • References/Python/Python/Language

Function.lineno The line number of the def statement within the file named by file.

2025-01-10 15:47:30