Critics have remarked that those four worthies were truly peerless throughout the ages; yet the present falls short of the pastβthe ancients favored unadorned simplicity, whereas the moderns prefer refined elegance. Styles of substance and ornament rise and fall in succession, shifting with the changing mores of the times; such evolution is simply the natural order of things. The ideal lies in honoring antiquity without clashing with the present, and embracing modernity without succumbing to its flawsβembodying that perfect balance of substance and refinement that defines the true gentleman. There is surely no need to abandon a carved palace in favor of a cave dwelling, or to trade a jade carriage for a primitive cart with solid wooden wheels.
Current path: lib64/python2.7/
β Cloned to:
β¬οΈ Go up: /lib64
οΏ½
zfc @ 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/lib64/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<