core.collections.dict

Source code: core/collections/dict.seq

class core.collections.dict.dict[K,V]

Magic methods:

__init__()
__init__(g: generator[tuple[K, V]])
__init__(g: tuple[K, V])
__getitem__(key: K)
__setitem__(key: K, val: V)
__delitem__(key: K)
__contains__(key: K)
__eq__(other: dict[K, V])
__ne__(other: dict[K, V])
__iter__()
__len__()
__copy__()
__str__()

Methods:

prefetch(key: K)
resize(new_n_buckets: int)
get(key: K, s: V)
setdefault(key: K, val: V)
increment[T](key: K, by: T = 1)
update(other: dict[K, V])
pop(key: K)
clear()
items()
keys()
values()
copy()
fromkeys[KS, V](ks: KS, v: V)