class documentation
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 |
Undocumented |
Inherited from Instance
:
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __str__ |
Undocumented |
Method | bool |
Infer the truth value for an Instance. |
Method | callable |
Undocumented |
Method | display |
Undocumented |
Method | getitem |
Undocumented |
Method | pytype |
Undocumented |
Class Variable | infer |
Undocumented |
Class Variable | _proxied |
Undocumented |
Inherited from BaseInstance
(via Instance
):
Method | getattr |
Undocumented |
Method | igetattr |
Inferred getattr. |
Method | infer |
Infer what a class instance is returning when called. |
Method | _wrap |
Wrap bound methods of attrs in a InstanceMethod proxies. |
Inherited from Proxy
(via Instance
, BaseInstance
):
Method | __getattr__ |
Undocumented |
Method | infer |
Undocumented |