René's URL Explorer Experiment
go
Title:
Number Protocol — Python 2.7.18 documentation
direct link
Domain:
docs.python.org
Links
:
no longer supported
https://devguide.python.org/devcycle/#end-of-life-branches
Python documentation for the current stable release
https://docs.python.org/3/c-api/number.html
index
https://docs.python.org/2/genindex.html
modules
https://docs.python.org/2/py-modindex.html
next
https://docs.python.org/2/c-api/sequence.html
previous
https://docs.python.org/2/c-api/object.html
Python
https://www.python.org/
Python 2.7.18 documentation
https://docs.python.org/2/index.html
Python/C API Reference Manual
https://docs.python.org/2/c-api/index.html
Abstract Objects Layer
https://docs.python.org/2/c-api/abstract.html
¶
https://docs.python.org/2/c-api/number.html#number-protocol
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_Check
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_Add
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_Subtract
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_Multiply
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_Divide
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_FloorDivide
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_TrueDivide
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_Remainder
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_Divmod
divmod()
https://docs.python.org/2/library/functions.html#divmod
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_Power
pow()
https://docs.python.org/2/library/functions.html#pow
Py_None
https://docs.python.org/2/c-api/none.html#c.Py_None
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_Negative
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_Positive
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_Absolute
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_Invert
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_Lshift
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_Rshift
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_And
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_Xor
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_Or
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_InPlaceAdd
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_InPlaceSubtract
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_InPlaceMultiply
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_InPlaceDivide
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_InPlaceFloorDivide
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_InPlaceTrueDivide
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_InPlaceRemainder
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_InPlacePower
pow()
https://docs.python.org/2/library/functions.html#pow
Py_None
https://docs.python.org/2/c-api/none.html#c.Py_None
Py_None
https://docs.python.org/2/c-api/none.html#c.Py_None
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_InPlaceLshift
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_InPlaceRshift
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_InPlaceAnd
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_InPlaceXor
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_InPlaceOr
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_Coerce
PyObject*
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_CoerceEx
PyNumber_Coerce()
https://docs.python.org/2/c-api/number.html#c.PyNumber_Coerce
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_Int
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_Long
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_Float
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_Index
TypeError
https://docs.python.org/2/library/exceptions.html#exceptions.TypeError
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_ToBase
PyNumber_Index()
https://docs.python.org/2/c-api/number.html#c.PyNumber_Index
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyNumber_AsSsize_t
OverflowError
https://docs.python.org/2/library/exceptions.html#exceptions.OverflowError
IndexError
https://docs.python.org/2/library/exceptions.html#exceptions.IndexError
OverflowError
https://docs.python.org/2/library/exceptions.html#exceptions.OverflowError
PyObject
https://docs.python.org/2/c-api/structures.html#c.PyObject
¶
https://docs.python.org/2/c-api/number.html#c.PyIndex_Check
Object Protocol
https://docs.python.org/2/c-api/object.html
Sequence Protocol
https://docs.python.org/2/c-api/sequence.html
Show Source
https://docs.python.org/2/_sources/c-api/number.rst.txt
index
https://docs.python.org/2/genindex.html
modules
https://docs.python.org/2/py-modindex.html
next
https://docs.python.org/2/c-api/sequence.html
previous
https://docs.python.org/2/c-api/object.html
Python
https://www.python.org/
Python 2.7.18 documentation
https://docs.python.org/2/index.html
Python/C API Reference Manual
https://docs.python.org/2/c-api/index.html
Abstract Objects Layer
https://docs.python.org/2/c-api/abstract.html
Copyright
https://docs.python.org/2/copyright.html
Please donate.
https://www.python.org/psf/donations/
Found a bug
https://docs.python.org/2/bugs.html
Sphinx
http://sphinx.pocoo.org/
URLs of
crawlers that visited me
.