Arithmetic operations

__add__(self, b): used for self+b, i.e., x+y implies x.__add__(y)
__sub__(self, b): self-b
__mul__(self, b): self*b
__div__(self, b): self/b
__pow__(self, b): self**b or pow(self,b)

previousnexttable of contents