Public API for “objects”
Value is a static approximation to a set of runtime objects.
A bound-method, such as
A builtin function, such as
A builtin method, such as
A callable in the Python program. Callables include Python functions, built-in functions and bound-methods, but not classes.
A class in the Python program, both Python and built-in.
A function in the Python program, both Python and built-in. Note that this does not include other callables such as bound-methods.
A method-resolution-order sequence of classes
A module in the Python program. Each
A class representing numbers (ints and floats), either present in the source as a literal, or in a builtin as a value.
A Python property:
A Python function.
A class representing sequence objects with a length and tracked items.
A class representing strings, either present in the source as a literal, or in a builtin as a value.
A class representing tuple objects
A value in the Python program. Each
The scope of a class. This is the scope of all the statements within the class definition
An alias for Function used for scopes
A module. This is the top level element in an AST, corresponding to a source file. It is also a Scope; the scope of global variables.