class documentation
class UnionType(BaseInstance): (source)
Special node representing new style typing unions. 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 | pytype |
Undocumented |
Instance Variable | left |
Undocumented |
Instance Variable | parent |
Undocumented |
Instance Variable | right |
Undocumented |
Class Variable | _proxied |
Undocumented |
Inherited from BaseInstance
:
Method | getattr |
Undocumented |
Method | igetattr |
Inferred getattr. |
Method | infer |
Infer what a class instance is returning when called. |
Class Variable | special |
Undocumented |
Method | _wrap |
Wrap bound methods of attrs in a InstanceMethod proxies. |
Inherited from Proxy
(via BaseInstance
):
Method | __getattr__ |
Undocumented |
Method | infer |
Undocumented |
def __init__(self, left:
(UnionType|nodes.ClassDef)|nodes.Const
, right: (UnionType|nodes.ClassDef)|nodes.Const
, parent: nodes.NodeNG|None
= None):
(source)
¶
overrides
astroid.bases.Proxy.__init__
Undocumented