class documentation

class UnboundMethod(Proxy): (source)

Known subclasses: astroid.bases.BoundMethod

View In Hierarchy

a special node representing a method not bound to an instance
Method __repr__ Undocumented
Method bool​_value Undocumented
Method getattr Undocumented
Method igetattr Undocumented
Method implicit​_parameters Undocumented
Method infer​_call​_result No summary
Method is​_bound Undocumented
Class Variable special​_attributes Undocumented

Inherited from Proxy:

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

Undocumented

def bool_value(self, context=None): (source)

Undocumented

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

Undocumented

def igetattr(self, name, context=None): (source)

Undocumented

def implicit_parameters(self): (source)

Undocumented

def infer_call_result(self, caller, context): (source)
The boundnode of the regular context with a function called on object.__new__ will be of type object, which is incorrect for the argument in general. If no context is given the object.__new__ call argument will correctly inferred except when inside a call that requires the additional context (such as a classmethod) of the boundnode to determine which class the method was called from
def is_bound(self): (source)

Undocumented

special_attributes = (source)

Undocumented