Skip to main content

DynamicTuple

Standard library class internal.types.collections.tuple.DynamicTuple View source
class DynamicTuple
@tuple
class DynamicTuple[T]
Fields 1
T type
Constructors 3
__new__
__new__(x: List[T], /)
__new__
__new__(x: Generator[T], /)
__new__
__new__() -> DynamicTuple[T]
Special methods 20
__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, /)
__to_gpu__
@inline
__to_gpu__(self: Self, cache: AllocCache)
Added by internal.gpu
__from_gpu__
@inline
__from_gpu__(self: Self, other: DynamicTuple[T])
Added by internal.gpu
__from_gpu_new__
@inline
__from_gpu_new__(other: DynamicTuple[T])
Added by internal.gpu
__pickle__
__pickle__(self: Self, jar: Jar)
Added by pickle
__unpickle__
__unpickle__(jar: Jar) -> DynamicTuple[T]
Added by pickle
__to_py__
__to_py__(self: Self) -> cobj
__from_py__
__from_py__(t: cobj) -> DynamicTuple[T]