class Generator(BaseInstance): (source)
Known subclasses: astroid.bases.AsyncGenerator
a special node representing a generator.
Proxied class is set once for all in raw_building.
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __str__ |
Undocumented |
Method | bool_value |
Undocumented |
Method | callable |
Undocumented |
Method | display_type |
Undocumented |
Method | infer_yield_types |
Undocumented |
Method | pytype |
Undocumented |
Class Variable | special_attributes |
Undocumented |
Instance Variable | parent |
Undocumented |
Instance Variable | _call_context |
Undocumented |
Inherited from BaseInstance
:
Method | getattr |
Undocumented |
Method | igetattr |
inferred getattr |
Method | infer_call_result |
infer what a class instance is returning when called |
Method | _wrap_attr |
wrap bound methods of attrs in a InstanceMethod proxies |
Inherited from Proxy
(via BaseInstance
):
Method | __getattr__ |
Undocumented |
Method | infer |
Undocumented |
Instance Variable | _proxied |
Undocumented |
astroid.bases.BaseInstance.display_type
astroid.bases.AsyncGenerator
Undocumented