class documentation

class ExceptionInstance(bases.Instance): (source)

View In Hierarchy

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