class documentation

class BaseInstance(Proxy): (source)

Known subclasses: astroid.bases.Generator, astroid.bases.Instance

View In Hierarchy

An instance base class, which provides lookup methods for potential instances.
Method display​_type Undocumented
Method getattr Undocumented
Method igetattr inferred getattr
Method infer​_call​_result infer what a class instance is returning when called
Class Variable special​_attributes Undocumented
Method _wrap​_attr wrap bound methods of attrs in a InstanceMethod proxies

Inherited from Proxy:

Method __getattr__ Undocumented
Method __init__ Undocumented
Method infer Undocumented
Instance Variable _proxied Undocumented
def display_type(self): (source)

Undocumented

def getattr(self, name, context=None, lookupclass=True): (source)

Undocumented

def igetattr(self, name, context=None): (source)
inferred getattr
def infer_call_result(self, caller, context=None): (source)
infer what a class instance is returning when called
special_attributes = (source)

Undocumented

def _wrap_attr(self, attrs, context=None): (source)
wrap bound methods of attrs in a InstanceMethod proxies