Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3a23c9e

Browse files
committed
Issue #9089: PyNumber_Int is no more. Remove it from the docs.
1 parent ab90f8e commit 3a23c9e

2 files changed

Lines changed: 0 additions & 15 deletions

File tree

Doc/c-api/number.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -215,18 +215,6 @@ Number Protocol
215215
the Python statement ``o1 |= o2``.
216216

217217

218-
.. cfunction:: PyObject* PyNumber_Int(PyObject *o)
219-
220-
Returns the *o* converted to an integer object on success, or *NULL* on
221-
failure. This is the equivalent of the Python expression ``int(o)``.
222-
223-
.. note::
224-
225-
This function is defined in the transitional :file:`intobject.h`
226-
header file. It will be removed completely in Python 3.1. Use
227-
the :cfunc:`PyNumber_Long` function instead.
228-
229-
230218
.. cfunction:: PyObject* PyNumber_Long(PyObject *o)
231219

232220
.. index:: builtin: int

Doc/data/refcounts.dat

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -846,9 +846,6 @@ PyNumber_InPlaceXor:PyObject*::+1:
846846
PyNumber_InPlaceXor:PyObject*:v:0:
847847
PyNumber_InPlaceXor:PyObject*:w:0:
848848

849-
PyNumber_Int:PyObject*::+1:
850-
PyNumber_Int:PyObject*:o:0:
851-
852849
PyNumber_Invert:PyObject*::+1:
853850
PyNumber_Invert:PyObject*:o:0:
854851

0 commit comments

Comments
 (0)