class documentation
class ObjectModel: (source)
Known subclasses: astroid.interpreter.objectmodel.ClassModel
, astroid.interpreter.objectmodel.ContextManagerModel
, astroid.interpreter.objectmodel.DictModel
, astroid.interpreter.objectmodel.FunctionModel
, astroid.interpreter.objectmodel.InstanceModel
, astroid.interpreter.objectmodel.ModuleModel
, astroid.interpreter.objectmodel.PropertyModel
, astroid.interpreter.objectmodel.SuperModel
, astroid.interpreter.objectmodel.UnboundMethodModel
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 |
Calling cls.__init__() normally returns None. |
Property | attr |
Calling cls.__new__(type) on an object returns an instance of 'type'. |
Instance Variable | _instance |
Undocumented |
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.