_collections

package
v0.12.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultDictType = newDefaultDictType()

DefaultDictType is the type singleton for defaultdict.

CPython: Modules/_collectionsmodule.c:2514 defdict_spec

View Source
var DequeIterType = newDequeIterType()

DequeIterType is the type singleton for _deque_iterator.

CPython: Modules/_collectionsmodule.c:2085 dequeiter_spec

View Source
var DequeRevIterType = newDequeRevIterType()

DequeRevIterType is the type singleton for _deque_reverse_iterator.

CPython: Modules/_collectionsmodule.c:2203 dequereviter_spec

View Source
var DequeType = newDequeType()

DequeType is the type singleton for collections.deque.

CPython: Modules/_collectionsmodule.c:1893 deque_spec

View Source
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

type DefaultDictObject struct {
	objects.Header
	Dict           *objects.Dict
	DefaultFactory objects.Object
}

DefaultDictObject is the runtime shape of collections.defaultdict. It embeds a Dict and adds default_factory.

CPython: Modules/_collectionsmodule.c:2213 defdictobject

type TupleGetterObject

type TupleGetterObject struct {
	objects.Header
	Index int
	Doc   objects.Object
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL