module documentation
(source)

This module contains base classes and functions for the nodes and some inference utils.
Class ​Async​Generator Special node representing an async generator
Class ​Base​Instance An instance base class, which provides lookup methods for potential instances.
Class ​Bound​Method a special node representing a method bound to an instance
Class ​Generator a special node representing a generator.
Class ​Instance A special node representing a class instance.
Class ​Proxy a simple proxy object
Class ​Unbound​Method a special node representing a method not bound to an instance
Constant BOOL​_SPECIAL​_METHOD Undocumented
Constant BUILTINS Undocumented
Constant POSSIBLE​_PROPERTIES Undocumented
Constant PROPERTIES Undocumented
Variable helpers Undocumented
Variable manager Undocumented
Variable objectmodel Undocumented
Function _infer​_method​_result​_truth Undocumented
Function _infer​_stmts Return an iterator on statements inferred by each statement in stmts.
Function _is​_property Undocumented
BOOL_SPECIAL_METHOD: str = (source)

Undocumented

Value
'__bool__'
BUILTINS: str = (source)

Undocumented

Value
'builtins'
POSSIBLE_PROPERTIES: set[str] = (source)

Undocumented

Value
set(['cached_property',
     'cachedproperty',
     'lazyproperty',
     'lazy_property',
     'reify',
     'lazyattribute',
     'lazy_attribute',
...
PROPERTIES: set[str] = (source)

Undocumented

Value
set(['builtins.property', 'abc.abstractproperty'])
helpers = (source)

Undocumented

manager = (source)

Undocumented

objectmodel = (source)

Undocumented

def _infer_method_result_truth(instance, method_name, context): (source)

Undocumented

def _infer_stmts(stmts, context, frame=None): (source)
Return an iterator on statements inferred by each statement in stmts.
def _is_property(meth, context=None): (source)

Undocumented