PyNumberMethods

Name

PyNumberMethods -- Implement numerical Python special methods

Synopsis

PyNumberMethods

Description

Within this section the following methods are legal:

__add__, __sub__, __mul__, __div__, __mod__, __divmod__, __pow__, __neg__, __pos__, __abs__, __nonzero__, __invert__, __lshift__, __rshift__, __and__, __xor__, __or__, __coerce__, __int__, __long__, __float__, __oct__, __hex__, __iadd__, __isub__, __imul__, __idiv__, __imod__, __ipow__, __ilshift__, __irshift__, __iand__, __ixor__, __ior__