class documentation

class DictInstance(bases.Instance): (source)

View In Hierarchy

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
special_attributes = (source)