ACC SHELL
Path : /usr/lib/python/ |
|
Current File : //usr/lib/python/numbers.pyo |
Ñò
oÄMc @ sí d Z d d k l Z d d k l Z l Z l Z d d d d d g Z d e f d „ ƒ YZ d e f d
„ ƒ YZ
e
i e ƒ d e
f d „ ƒ YZ
e
i e ƒ d e
f d „ ƒ YZ d e f d
„ ƒ YZ e i e ƒ e i e ƒ d S( s~ Abstract Base Classes (ABCs) for numbers, according to PEP 3141.
TODO: Fill out more detailed documentation on the operators.iÿÿÿÿ( t division( t ABCMetat abstractmethodt abstractpropertyt Numbert Complext Realt Rationalt Integralc B s e Z d Z e Z d Z d Z RS( sŸ All numbers inherit from this class.
If you just want to check if an argument x is a number, without
caring what kind, use isinstance(x, Number).
( N( t __name__t
__module__t __doc__R t
__metaclass__t __slots__t Nonet __hash__( ( ( s /usr/lib/python2.6/numbers.pyR
s c B sF e Z d Z d Z e d „ ƒ Z d „ Z e d „ ƒ Z e d „ ƒ Z e d „ ƒ Z
e d „ ƒ Z e d „ ƒ Z e d „ ƒ Z
d „ Z d
„ Z e d „ ƒ Z e d „ ƒ Z e d
„ ƒ Z e d „ ƒ Z e d „ ƒ Z e d „ ƒ Z e d „ ƒ Z e d „ ƒ Z e d „ ƒ Z e d „ ƒ Z e d „ ƒ Z d „ Z RS( sa Complex defines the operations that work on the builtin complex type.
In short, those are: a conversion to complex, .real, .imag, +, -,
*, /, abs(), .conjugate, ==, and !=.
If it is given heterogenous arguments, and doesn't have special
knowledge about them, it should fall back to the builtin complex
type as described below.
c C s d S( s<