mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
#6115: remove entries for the already removed PyNumber_Divide and PyNumber_InPlaceDivide from the header and the docs.
This commit is contained in:
parent
c38a0002bc
commit
7d5285ec79
2 changed files with 0 additions and 28 deletions
|
@ -30,12 +30,6 @@ Number Protocol
|
|||
the equivalent of the Python expression ``o1 * o2``.
|
||||
|
||||
|
||||
.. cfunction:: PyObject* PyNumber_Divide(PyObject *o1, PyObject *o2)
|
||||
|
||||
Returns the result of dividing *o1* by *o2*, or *NULL* on failure. This is the
|
||||
equivalent of the Python expression ``o1 / o2``.
|
||||
|
||||
|
||||
.. cfunction:: PyObject* PyNumber_FloorDivide(PyObject *o1, PyObject *o2)
|
||||
|
||||
Return the floor of *o1* divided by *o2*, or *NULL* on failure. This is
|
||||
|
@ -152,13 +146,6 @@ Number Protocol
|
|||
the Python statement ``o1 *= o2``.
|
||||
|
||||
|
||||
.. cfunction:: PyObject* PyNumber_InPlaceDivide(PyObject *o1, PyObject *o2)
|
||||
|
||||
Returns the result of dividing *o1* by *o2*, or *NULL* on failure. The
|
||||
operation is done *in-place* when *o1* supports it. This is the equivalent of
|
||||
the Python statement ``o1 /= o2``.
|
||||
|
||||
|
||||
.. cfunction:: PyObject* PyNumber_InPlaceFloorDivide(PyObject *o1, PyObject *o2)
|
||||
|
||||
Returns the mathematical floor of dividing *o1* by *o2*, or *NULL* on failure.
|
||||
|
|
|
@ -632,13 +632,6 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
|
|||
o1*o2.
|
||||
*/
|
||||
|
||||
PyAPI_FUNC(PyObject *) PyNumber_Divide(PyObject *o1, PyObject *o2);
|
||||
|
||||
/*
|
||||
Returns the result of dividing o1 by o2, or null on failure.
|
||||
This is the equivalent of the Python expression: o1/o2.
|
||||
*/
|
||||
|
||||
PyAPI_FUNC(PyObject *) PyNumber_FloorDivide(PyObject *o1, PyObject *o2);
|
||||
|
||||
/*
|
||||
|
@ -832,14 +825,6 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
|
|||
o1 *= o2.
|
||||
*/
|
||||
|
||||
PyAPI_FUNC(PyObject *) PyNumber_InPlaceDivide(PyObject *o1, PyObject *o2);
|
||||
|
||||
/*
|
||||
Returns the result of dividing o1 by o2, possibly in-place, or null
|
||||
on failure. This is the equivalent of the Python expression:
|
||||
o1 /= o2.
|
||||
*/
|
||||
|
||||
PyAPI_FUNC(PyObject *) PyNumber_InPlaceFloorDivide(PyObject *o1,
|
||||
PyObject *o2);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue