ast.AST.
  • References/Python/Python/Language

_fields Each concrete class has an attribute _fields which gives the names of all child nodes.

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
parser.ST.issuite()
  • References/Python/Python/Language

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

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.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
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
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
parser.isexpr()
  • References/Python/Python/Language

parser.isexpr(st) When st represents an 'eval' form, this function returns true, otherwise it returns

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

get_namespace() Return the namespace bound to this name. If more than one namespace is bound,

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

has_children() Return True if the block has nested namespaces within it. These can be obtained with get_children()

2025-01-10 15:47:30