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