ast.increment_lineno()
  • References/Python/Python/Language

ast.increment_lineno(node, n=1) Increment the line number of each node in the tree starting at node by n.

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

get_type() Return the type of the symbol table. Possible values are 'class', 'module', and 'function'

2025-01-10 15:47:30
dis.Instruction.starts_line
  • References/Python/Python/Language

starts_line line started by this opcode (if any), otherwise None

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

parser.tuple2st(sequence) This is the same function as sequence2st(). This entry point is maintained for backward

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

compileall.compile_path(skip_curdir=True, maxlevels=0, force=False, quiet=0, legacy=False, optimize=-1) Byte-compile all the

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

get_symbols() Return a list of Symbol instances for names in the table.

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

ST.issuite() Same as issuite(st).

2025-01-10 15:47:30
tabnanny.NannyNag
  • References/Python/Python/Language

exception tabnanny.NannyNag Raised by tokeneater() if detecting an ambiguous indent. Captured and handled in check()

2025-01-10 15:47:30
ast.AST.lineno
  • References/Python/Python/Language

lineno col_offset Instances of ast.expr and ast.stmt subclasses have lineno

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

token.ISTERMINAL(x) Return true for terminal token values.

2025-01-10 15:47:30