Staging: this is not the live site, pydocs.org.
An entry in a SymbolTable corresponding to an identifier in the source. The constructor is not public.
Members of Symbol
i
- is_cell
- Return *True* if the symbol is a cell variable.
- is_comp_cell
- Return *True* if the symbol is a cell in an inlined comprehension.
- is_comp_iter
- Return *True* if the symbol is a comprehension iteration variable.
- is_free
- Return *True* if a referenced symbol is not assigned to.
- is_free_class
- Return *True* if a class-scoped symbol is free from the perspective of a method.
- is_global
- Return *True* if the symbol is global.
- is_imported
- Return *True* if the symbol is created from an import statement.
- is_local
- Return *True* if the symbol is local.
- is_namespace
- Returns *True* if name binding introduces new namespace.