class ExceptionInstance(bases.Instance): (source)
Class for instances of exceptions
It has special treatment for some of the exceptions's attributes, which are transformed at runtime into certain concrete objects, such as the case of .args.
Property | special_attributes |
Undocumented |
Inherited from Instance
:
Method | __repr__ |
Undocumented |
Method | __str__ |
Undocumented |
Method | bool_value |
Infer the truth value for an Instance |
Method | callable |
Undocumented |
Method | display_type |
Undocumented |
Method | getitem |
Undocumented |
Method | pytype |
Undocumented |
Inherited from BaseInstance
(via Instance
):
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 Instance
, BaseInstance
):
Method | __getattr__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | infer |
Undocumented |
Instance Variable | _proxied |
Undocumented |