summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-05-26 16:43:13 (GMT)
committerGeorg Brandl <georg@python.org>2009-05-26 16:43:13 (GMT)
commit7d5285ec79ef0f907ade0f110a008694441a97e3 (patch)
treea88b3b08b308fb9038aa15dafd9a99fb45b68378 /Doc/c-api
parentc38a0002bca5424a1ec3cbc68af4ee8727ba2302 (diff)
downloadcpython-7d5285ec79ef0f907ade0f110a008694441a97e3.zip
cpython-7d5285ec79ef0f907ade0f110a008694441a97e3.tar.gz
cpython-7d5285ec79ef0f907ade0f110a008694441a97e3.tar.bz2
#6115: remove entries for the already removed PyNumber_Divide and PyNumber_InPlaceDivide from the header and the docs.
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/number.rst13
1 files changed, 0 insertions, 13 deletions
diff --git a/Doc/c-api/number.rst b/Doc/c-api/number.rst
index 26e2dd4..57ef293 100644
--- a/Doc/c-api/number.rst
+++ b/Doc/c-api/number.rst
@@ -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.