[Python-checkins] r82288 - in python/branches/py3k/Doc: c-api/number.rst data/refcounts.dat

mark.dickinson python-checkins at python.org
Sun Jun 27 19:36:54 CEST 2010


Author: mark.dickinson
Date: Sun Jun 27 19:36:54 2010
New Revision: 82288

Log:
Issue #9089: PyNumber_Int is no more.  Remove it from the docs.

Modified:
   python/branches/py3k/Doc/c-api/number.rst
   python/branches/py3k/Doc/data/refcounts.dat

Modified: python/branches/py3k/Doc/c-api/number.rst
==============================================================================
--- python/branches/py3k/Doc/c-api/number.rst	(original)
+++ python/branches/py3k/Doc/c-api/number.rst	Sun Jun 27 19:36:54 2010
@@ -215,18 +215,6 @@
    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

Modified: python/branches/py3k/Doc/data/refcounts.dat
==============================================================================
--- python/branches/py3k/Doc/data/refcounts.dat	(original)
+++ python/branches/py3k/Doc/data/refcounts.dat	Sun Jun 27 19:36:54 2010
@@ -846,9 +846,6 @@
 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:
 


More information about the Python-checkins mailing list