summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/number.rst
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-06-27 17:36:54 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-06-27 17:36:54 (GMT)
commit3a23c9eed581ff83de55956e5175fbdd90e4cab0 (patch)
tree446d02ee0409306d5d0838fa5ce2aa80192bb618 /Doc/c-api/number.rst
parentab90f8e6a1a2f3f13b4775f431c75ec995a048d1 (diff)
downloadcpython-3a23c9eed581ff83de55956e5175fbdd90e4cab0.zip
cpython-3a23c9eed581ff83de55956e5175fbdd90e4cab0.tar.gz
cpython-3a23c9eed581ff83de55956e5175fbdd90e4cab0.tar.bz2
Issue #9089: PyNumber_Int is no more. Remove it from the docs.
Diffstat (limited to 'Doc/c-api/number.rst')
-rw-r--r--Doc/c-api/number.rst12
1 files changed, 0 insertions, 12 deletions
diff --git a/Doc/c-api/number.rst b/Doc/c-api/number.rst
index 57ef293..d79b9fb 100644
--- a/Doc/c-api/number.rst
+++ b/Doc/c-api/number.rst
@@ -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