class documentation
class Generator(BaseInstance): (source)
Known subclasses: astroid.bases.AsyncGenerator
Constructor: Generator(parent, generator_initial_context)
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 |
Undocumented |
| Method | callable |
Undocumented |
| Method | display |
Undocumented |
| Method | infer |
Undocumented |
| Method | pytype |
Undocumented |
| Class Variable | special |
Undocumented |
| Instance Variable | parent |
Undocumented |
| Instance Variable | _call |
Undocumented |
Inherited from BaseInstance:
| Method | getattr |
Undocumented |
| Method | igetattr |
inferred getattr |
| Method | infer |
infer what a class instance is returning when called |
| Method | _wrap |
wrap bound methods of attrs in a InstanceMethod proxies |
Inherited from Proxy (via BaseInstance):
| Method | __getattr__ |
Undocumented |
| Method | infer |
Undocumented |
| Instance Variable | _proxied |
Undocumented |
overrides
astroid.bases.BaseInstance.display_typeoverridden in
astroid.bases.AsyncGeneratorUndocumented