numbers

Abstract Base Classes (ABCs) for numbers, according to PEP 3141.

TODO: Fill out more detailed documentation on the operators.

Functions

abstractmethod(funcobj) A decorator indicating abstract methods.

Classes

ABCMeta Metaclass for defining Abstract Base Classes (ABCs).
Complex Complex defines the operations that work on the builtin complex type.
Integral Integral adds a conversion to long and the bit-string operations.
Number All numbers inherit from this class.
Rational .numerator and .denominator should be in lowest terms.
Real To Complex, Real adds the operations that work on real numbers.
abstractproperty A decorator indicating abstract properties.