OrderedDict
class OrderedDict[K, V]
Fields
2
K
type
V
type
Constructors
5
__init__(self: OrderedDict[K, V], other: defaultdict[K, V, S], S: type)
Added by
collections
Methods
13
get(self, key: K)
Defined in
internal.types.collections.dictget(self, key: K, default: V)
Defined in
internal.types.collections.dictpop(self, key: K)
Defined in
internal.types.collections.dictpop(self, key: K, missing)
Defined in
internal.types.collections.dictfromkeys(ks: Generator[K], v: V, K: type, V: type)
Defined in
internal.types.collections.dict
Special methods
24
__dict_do_op_throws__(self, key: K, other: Z, op: F, F: type, Z: type)
Defined in
internal.types.collections.dict__dict_do_op__(self, key: K, other: Z, dflt: V, op: F, F: type, Z: type)
Defined in
internal.types.collections.dict