Python dict

GPTKB entity

Statements (56)
Predicate Object
gptkbp:instanceOf gptkb:architecture
mapping type
gptkbp:canBeComprehendedBy dict comprehensions
gptkbp:canBeCopiedBy copy() method
copy module
gptkbp:canBeNested true
gptkbp:compatibleWith duplicate keys
mutable keys
gptkbp:createdBy using curly braces {}
using dict() constructor
gptkbp:defaultIteration over keys
gptkbp:definedIn builtins module
gptkbp:hasMethod pop
clear
keys
values
update
get
items
popitem
setdefault
https://www.w3.org/2000/01/rdf-schema#label Python dict
gptkbp:implementedIn hash table
gptkbp:introducedIn Python 1.0
gptkbp:iterable true
gptkbp:keysAre unique
gptkbp:mutable true
gptkbp:numberOfLocations key-value pairs
gptkbp:order true (since Python 3.7)
gptkbp:period O(1) average
gptkbp:relatedTo gptkb:list
gptkb:box_set
tuple
collections.Counter
MappingProxyType
collections.ChainMap
collections.OrderedDict
collections.defaultdict
gptkbp:serialization pickle
JSON object
gptkbp:supportsOperator in
not in
gptkbp:supportsViewObjects dict_items
dict_keys
dict_values
gptkbp:unordered true (before Python 3.7)
gptkbp:usedFor caching
counting
associative arrays
configuration storage
fast lookup
gptkbp:usedIn gptkb:Python_programming_language
gptkbp:valuesAre arbitrary objects
gptkbp:bfsParent gptkb:BlueConfig
gptkb:tomllib_module
gptkbp:bfsLayer 7