API Reference / Modules / internal / types / collections / tuple internal.types.collections.tuple Standard library Module View source class DynamicTuple @tuple class DynamicTuple[T] View complete class API → Fields 1 T type Constructors 3 __new__ __new__(x: List[T], /) __new__ __new__(x: Generator[T], /) __new__ __new__() -> DynamicTuple[T] Special methods 13 __len__ __len__(self: Self, /) __bool__ __bool__(self: Self) __eq__ __eq__(self: Self, other, /) __eq__(self: Self, other: DynamicTuple[T], /) __ne__ __ne__(self: Self, other, /) __ne__(self: Self, other: DynamicTuple[T], /) __lt__ __lt__(self: Self, other, /) __lt__(self: Self, other: DynamicTuple[T], /) __gt__ __gt__(self: Self, other, /) __gt__(self: Self, other: DynamicTuple[T], /) __le__ __le__(self: Self, other, /) __le__(self: Self, other: DynamicTuple[T], /) __ge__ __ge__(self: Self, other, /) __ge__(self: Self, other: DynamicTuple[T], /) __hash__ __hash__(self: Self, /) __iter__ __iter__(self: Self, /) __contains__ __contains__(self: Self, item: T, /) __getitem__ __getitem__(self: Self, idx: int, /) __getitem__(self: Self, s: Slice, /) __repr__ __repr__(self: Self, /)
class DynamicTuple @tuple class DynamicTuple[T] View complete class API → Fields 1 T type Constructors 3 __new__ __new__(x: List[T], /) __new__ __new__(x: Generator[T], /) __new__ __new__() -> DynamicTuple[T] Special methods 13 __len__ __len__(self: Self, /) __bool__ __bool__(self: Self) __eq__ __eq__(self: Self, other, /) __eq__(self: Self, other: DynamicTuple[T], /) __ne__ __ne__(self: Self, other, /) __ne__(self: Self, other: DynamicTuple[T], /) __lt__ __lt__(self: Self, other, /) __lt__(self: Self, other: DynamicTuple[T], /) __gt__ __gt__(self: Self, other, /) __gt__(self: Self, other: DynamicTuple[T], /) __le__ __le__(self: Self, other, /) __le__(self: Self, other: DynamicTuple[T], /) __ge__ __ge__(self: Self, other, /) __ge__(self: Self, other: DynamicTuple[T], /) __hash__ __hash__(self: Self, /) __iter__ __iter__(self: Self, /) __contains__ __contains__(self: Self, item: T, /) __getitem__ __getitem__(self: Self, idx: int, /) __getitem__(self: Self, s: Slice, /) __repr__ __repr__(self: Self, /)