Skip to main content

Tuple

Standard library class internal.core.Tuple View source
class Tuple
@tuple
class Tuple
Constructors 1
__new__
@llvm
__new__() -> Tuple
Defined in internal.core
ret {} {}
Special methods 23
__add__
__add__(self: Self, obj, /)
Defined in internal.core
__mul__
__mul__[n: Literal[int]](self: Self, /)
Defined in internal.core
__contains__
__contains__(self: Self, obj, /) -> bool
Defined in internal.core
__getitem__
__getitem__(self: Self, idx: int, /)
Defined in internal.core
__iter__
__iter__(self: Self, /)
Defined in internal.core
__hash__
__hash__(self: Self, /) -> int
Defined in internal.core
__repr__
__repr__(self: Self, /) -> str
Defined in internal.core
__len__
__len__(self: Self, /) -> int
Defined in internal.core
__eq__
__eq__(self: Self, obj: Self, /) -> bool
Defined in internal.core
__ne__
__ne__(self: Self, obj: Self, /) -> bool
Defined in internal.core
__gt__
__gt__(self: Self, obj: Self, /) -> bool
Defined in internal.core
__ge__
__ge__(self: Self, obj: Self, /) -> bool
Defined in internal.core
__lt__
__lt__(self: Self, obj: Self, /) -> bool
Defined in internal.core
__le__
__le__(self: Self, obj: Self, /) -> bool
Defined in internal.core
__pickle__
__pickle__(self: Self, dest: Ptr[u8])
Defined in internal.core
__unpickle__
__unpickle__(src: Ptr[u8]) -> Self
Defined in internal.core
__to_py__
__to_py__(self: Self) -> Ptr[u8]
Defined in internal.core
__from_py__
__from_py__(src: Ptr[u8]) -> Self
Defined in internal.core
__to_gpu__
__to_gpu__(self: Self, cache) -> Self
Defined in internal.core
__from_gpu__
__from_gpu__(self: Self, other: Self)
Defined in internal.core
__from_gpu_new__
__from_gpu_new__(other: Self) -> Self
Defined in internal.core
__tuplesize__
__tuplesize__(self: Self) -> int
Defined in internal.core
__bool__
__bool__(self: Self) -> bool
Defined in internal.core