Proxies¶
Inference does not only yield nodes. When a value has no node of its own — an instance of a class, a bound method, a running generator — it is represented by a proxy that forwards attribute lookups to the node it wraps.
Instance, BoundMethod and
UnboundMethod are the ones you meet most often, and are part
of the general API.
|
A simple proxy object. |
|
A special node representing a generator. |
|
Special node representing an async generator. |
|
Special node representing new style typing unions. |