module documentation
This module contains base classes and functions for the nodes and some inference utils.
Class |
|
Special node representing an async generator. |
Class |
|
An instance base class, which provides lookup methods for potential instances. |
Class |
|
A special node representing a method bound to an instance. |
Class |
|
A special node representing a generator. |
Class |
|
A special node representing a class instance. |
Class |
|
A simple proxy object. |
Class |
|
A special node representing a method not bound to an instance. |
Class |
|
Special node representing new style typing unions. |
Constant | BOOL |
Undocumented |
Constant | BUILTINS |
Undocumented |
Constant | POSSIBLE |
Undocumented |
Constant | PROPERTIES |
Undocumented |
Variable | helpers |
Undocumented |
Variable | manager |
Undocumented |
Variable | objectmodel |
Undocumented |
Function | _infer |
Undocumented |
Function | _infer |
Return an iterator on statements inferred by each statement in *stmts*. |
Function | _is |
Undocumented |
Undocumented
Value |
|
def _infer_stmts(stmts:
Sequence[ (nodes.NodeNG|UninferableBase)|Instance]
, context: InferenceContext|None
, frame: (nodes.NodeNG|Instance)|None
= None) -> collections.abc.Generator[ InferenceResult, None, None]
:
(source)
¶
Return an iterator on statements inferred by each statement in *stmts*.