DictInstance

class astroid.objects.DictInstance(proxied: ClassDef | None)[source]

Bases: Instance

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.

special_attributes: objectmodel.ObjectModel