]> granicus.if.org Git - python/commitdiff
Issue #9089: PyNumber_Int is no more. Remove it from the docs.
authorMark Dickinson <dickinsm@gmail.com>
Sun, 27 Jun 2010 17:36:54 +0000 (17:36 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sun, 27 Jun 2010 17:36:54 +0000 (17:36 +0000)
Doc/c-api/number.rst
Doc/data/refcounts.dat

index 57ef293ded7725f30e8667fd714c4cf0a9ed9440..d79b9fb48f90e30ab17e8fbdd187a7aa0850488f 100644 (file)
@@ -215,18 +215,6 @@ Number Protocol
    the Python statement ``o1 |= o2``.
 
 
-.. cfunction:: PyObject* PyNumber_Int(PyObject *o)
-
-   Returns the *o* converted to an integer object on success, or *NULL* on
-   failure.  This is the equivalent of the Python expression ``int(o)``.
-
-   .. note::
-
-     This function is defined in the transitional :file:`intobject.h`
-     header file.  It will be removed completely in Python 3.1.  Use
-     the :cfunc:`PyNumber_Long` function instead.
-
-
 .. cfunction:: PyObject* PyNumber_Long(PyObject *o)
 
    .. index:: builtin: int
index 6f16cadc1422e0bb9106e10f1b14fa3303eafc1f..2dc7084297a9ccbe4c44915fe900df0c9ba906f3 100644 (file)
@@ -846,9 +846,6 @@ PyNumber_InPlaceXor:PyObject*::+1:
 PyNumber_InPlaceXor:PyObject*:v:0:
 PyNumber_InPlaceXor:PyObject*:w:0:
 
-PyNumber_Int:PyObject*::+1:
-PyNumber_Int:PyObject*:o:0:
-
 PyNumber_Invert:PyObject*::+1:
 PyNumber_Invert:PyObject*:o:0: