__add__(self, other) |
self+other |
__sub__(self, other) |
self−other |
__mul__(self, other) |
self∗other |
__truediv__(self, other) |
self/other |
__floordiv__(self, other) |
self//other |
__mod__(self, other) |
self |
__divmod__(self, other) |
divmod(self,other) |
__pow__(self, other) |
self∗∗other |
__lshift__(self, other) |
self<<other |
__rshift__(self, other) |
self>>other |
__and__(self, other) |
self&other |
__or__(self, other) |
self∣other |
__xor__(self, other) |
self ^ other |
__iadd__(self, other) |
self+=other |
__isub__(self, other) |
self−=other |
__imul__(self, other) |
self∗=other |
__itruediv__(self, other) |
self/=other |
__ifloordiv__(self, other) |
self//=other |
__imod__(self, other) |
self %= other |
__ipow__(self, other) |
self∗∗=other |
__iand__(self, other) |
self&=other |
__ior__(self, other) |
self∣=other |
__ixor__(self, other) |
self ^= other |
__ilshift__(self, other) |
self<<=other |
__irshift__(self, other) |
self>>=other |
__neg__(self) |
−self |
__pos__(self) |
+self |
__abs__(self) |
abs(self) |
__invert__(self) |
self |
__int__(self) |
int(self) |
__float__(self) |
float(self) |
__complex__(self) |
complex(self) |