class DictInstance(bases.Instance): (source)
Special kind of instances for dictionaries
This instance knows the underlying object model of the dictionaries, which means that methods such as .values or .items can be properly inferred.
Class Variable | 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 |