|
|
|
@@ -1,474 +1,6 @@
|
|
|
|
|
# Python stdlib
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## 5.4. Numeric types
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__init__ = \
|
|
|
|
|
:type x: object \n\
|
|
|
|
|
:type base: bool or int or long or float or complex or None \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__add__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__sub__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__mul__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__floordiv__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__mod__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__pow__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__lshift__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__rshift__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__and__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__or__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__xor__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__div__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__truediv__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__radd__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__rsub__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__rmul__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__rfloordiv__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__rmod__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__rpow__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__rlshift__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__rrshift__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__rand__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__ror__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__rxor__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__rdiv__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__rtruediv__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__pos__ = \
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__neg__ = \
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.int.__invert__ = \
|
|
|
|
|
:rtype: int \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__init__ = \
|
|
|
|
|
:type x: object \n\
|
|
|
|
|
:type base: bool or int or long or float or complex or None \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__add__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__sub__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__mul__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__floordiv__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__mod__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__pow__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__lshift__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__rshift__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__and__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__or__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__xor__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__div__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__truediv__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__radd__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__rsub__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__rmul__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__rfloordiv__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__rmod__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__rpow__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__rlshift__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__rrshift__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__rand__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__ror__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__rxor__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__rdiv__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__rtruediv__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__pos__ = \
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__neg__ = \
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.long.__invert__ = \
|
|
|
|
|
:rtype: long \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__init__ = \
|
|
|
|
|
:type x: object \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__add__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__sub__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__mul__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__floordiv__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__mod__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__pow__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__lshift__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__rshift__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__and__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__or__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__xor__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__div__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__truediv__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__radd__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__rsub__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__rmul__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__rfloordiv__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__rmod__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__rpow__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__rlshift__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__rrshift__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__rand__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__ror__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__rxor__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__rdiv__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__rtruediv__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__pos__ = \
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.float.__neg__ = \
|
|
|
|
|
:rtype: float \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__init__ = \
|
|
|
|
|
:type real: object \n\
|
|
|
|
|
:type imag: object or None \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__add__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__sub__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__mul__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__floordiv__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__mod__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__pow__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__lshift__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__rshift__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__and__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__or__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__xor__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__div__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__truediv__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__radd__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__rsub__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__rmul__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__rfloordiv__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__rmod__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__rpow__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__rlshift__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__rrshift__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__rand__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__ror__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__rxor__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__rdiv__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__rtruediv__ = \
|
|
|
|
|
:type y: int or long or float or complex \n\
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__pos__ = \
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
__builtin__.complex.__neg__ = \
|
|
|
|
|
:rtype: complex \n\
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## 5.6. Sequence types
|
|
|
|
|
|
|
|
|
|
__builtin__.bytes.__init__ = \
|
|
|
|
|