internal.types.collections.dict

Source code: internal/types/collections/dict.seq

class internal.types.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__()
__dict_do_op_throws__[F, Z](key: K, other: Z, op: F)
__dict_do_op__[F, Z](key: K, other: Z, dflt: V, op: F)

Methods:

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)
internal.types.collections.dict.dict