| Server IP : 61.19.30.66 / Your IP : 216.73.216.15 Web Server : Apache/2.2.22 (Ubuntu) System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 User : www-data ( 33) PHP Version : 5.3.10-1ubuntu3.48 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python2.7/ |
Upload File : |
ó
ÿ–|_c @ sí d Z d d l m Z d d l m Z m Z m Z d d d d d g Z d e f d „ ƒ YZ d e f d
„ ƒ YZ
e
j e ƒ d e
f d „ ƒ YZ
e
j e ƒ d e
f d „ ƒ YZ d e f d
„ ƒ YZ e j e ƒ e j 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.7/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<