@@ -44,7 +44,7 @@ Number Protocol
4444.. c :function :: PyObject* PyNumber_FloorDivide (PyObject *o1, PyObject *o2)
4545
4646 Return the floor of *o1 * divided by *o2 *, or ``NULL `` on failure. This is
47- equivalent to the "classic" division of integers .
47+ the equivalent of the Python expression `` o1 // o2 `` .
4848
4949
5050.. c :function :: PyObject* PyNumber_TrueDivide (PyObject *o1, PyObject *o2)
@@ -53,7 +53,7 @@ Number Protocol
5353 *o2 *, or ``NULL `` on failure. The return value is "approximate" because binary
5454 floating point numbers are approximate; it is not possible to represent all real
5555 numbers in base two. This function can return a floating point value when
56- passed two integers.
56+ passed two integers. This is the equivalent of the Python expression `` o1 / o2 ``.
5757
5858
5959.. c :function :: PyObject* PyNumber_Remainder (PyObject *o1, PyObject *o2)
@@ -180,6 +180,7 @@ Number Protocol
180180 floating point numbers are approximate; it is not possible to represent all real
181181 numbers in base two. This function can return a floating point value when
182182 passed two integers. The operation is done *in-place * when *o1 * supports it.
183+ This is the equivalent of the Python statement ``o1 /= o2 ``.
183184
184185
185186.. c :function :: PyObject* PyNumber_InPlaceRemainder (PyObject *o1, PyObject *o2)
@@ -281,6 +282,6 @@ Number Protocol
281282
282283.. c:function:: int PyIndex_Check(PyObject *o)
283284
284- Returns ``1 `` if *o * is an index integer (has the nb_index slot of the
285- tp_as_number structure filled in), and ``0`` otherwise.
285+ Returns ``1 `` if *o * is an index integer (has the `` nb_index `` slot of the
286+ `` tp_as_number `` structure filled in), and ``0`` otherwise.
286287 This function always succeeds.
0 commit comments