Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var DefaultDictType = newDefaultDictType()
DefaultDictType is the type singleton for defaultdict.
CPython: Modules/_collectionsmodule.c:2514 defdict_spec
var DequeIterType = newDequeIterType()
DequeIterType is the type singleton for _deque_iterator.
CPython: Modules/_collectionsmodule.c:2085 dequeiter_spec
var DequeRevIterType = newDequeRevIterType()
DequeRevIterType is the type singleton for _deque_reverse_iterator.
CPython: Modules/_collectionsmodule.c:2203 dequereviter_spec
var DequeType = newDequeType()
DequeType is the type singleton for collections.deque.
CPython: Modules/_collectionsmodule.c:1893 deque_spec
var TupleGetterType = newTupleGetterType()
TupleGetterType is the type singleton for _tuplegetter.
CPython: Modules/_collectionsmodule.c:2791 tuplegetter_spec
Functions ¶
This section is empty.
Types ¶
type DefaultDictObject ¶
DefaultDictObject is the runtime shape of collections.defaultdict. It embeds a Dict and adds default_factory.
CPython: Modules/_collectionsmodule.c:2213 defdictobject
type TupleGetterObject ¶
TupleGetterObject is the descriptor used by namedtuple for named fields. Each instance holds an index into the tuple and an optional doc string.
CPython: Modules/_collectionsmodule.c:2651 _tuplegetterobject