class documentation

Undocumented

Method __call__ Undocumented
Method __contains__ Undocumented
Method __get__ Undocumented
Method __init__ Undocumented
Method __repr__ Undocumented
Method attributes Get the attributes which are exported by this object model.
Method lookup Look up the given *name* in the current model.
Property attr___init__ Calling cls.__init__() normally returns None.
Property attr___new__ Calling cls.__new__(type) on an object returns an instance of 'type'.
Instance Variable _instance Undocumented
def __call__(self, instance): (source)

Undocumented

def __contains__(self, name) -> bool: (source)

Undocumented

def __get__(self, instance, cls=None): (source)

Undocumented

def __init__(self): (source)

Undocumented

def __repr__(self): (source)

Undocumented

@lru_cache()
def attributes(self) -> list[str]: (source)

Get the attributes which are exported by this object model.

def lookup(self, name): (source)

Look up the given *name* in the current model. It should return an AST or an interpreter object, but if the name is not found, then an AttributeInferenceError will be raised.

Calling cls.__init__() normally returns None.

Calling cls.__new__(type) on an object returns an instance of 'type'.

_instance = (source)

Undocumented