PyDocs

Python Language Services

symtable

Interface to the compiler's internal symbol tables
Symbols in symtable

c

Class
A namespace of a class.

f

Function
A namespace for a function or method.

s

Symbol
An entry in a SymbolTable corresponding to an identifier in the source.
SymbolTable
A namespace table for a block.
SymbolTableType
An enumeration indicating the type of a SymbolTable object.
symtable
Return the toplevel *SymbolTable* for the source code.