| 1 |
Proxies |
| 2 |
======= |
| 3 |
|
| 4 |
Inference does not only yield nodes. When a value has no node of its own — an |
| 5 |
instance of a class, a bound method, a running generator — it is represented by |
| 6 |
a proxy that forwards attribute lookups to the node it wraps. |
| 7 |
|
| 8 |
:class:`~astroid.Instance`, :class:`~astroid.BoundMethod` and |
| 9 |
:class:`~astroid.UnboundMethod` are the ones you meet most often, and are part |
| 10 |
of the :doc:`general API <general>`. |
| 11 |
|
| 12 |
.. autosummary:: |
| 13 |
:toctree: bases |
| 14 |
:template: autosummary_class.rst |
| 15 |
|
| 16 |
astroid.bases.Proxy |
| 17 |
astroid.bases.Generator |
| 18 |
astroid.bases.AsyncGenerator |
| 19 |
astroid.bases.UnionType |