API Reference / Classes / Tuple Tuple Standard library class 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