|
Server : Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 System : Linux server.jackjohnson.com 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64 User : jackjohn ( 502) PHP Version : 5.3.17 Disable Function : NONE Directory : /usr/lib64/python2.6/ |
Upload File : |
Ñò
§ÚêLc @ 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/lib64/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<