summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-03-31 15:49:02 (GMT)
committerGeorg Brandl <georg@python.org>2009-03-31 15:49:02 (GMT)
commit5081f7e976d8d1c5286f705d9ec7e2ed5603db8f (patch)
tree971d47ae2149602bfa06deb44533a30e2b57ed28 /Doc
parentd18630701381785b055440dc8ae77b26aaaaed98 (diff)
downloadcpython-5081f7e976d8d1c5286f705d9ec7e2ed5603db8f.zip
cpython-5081f7e976d8d1c5286f705d9ec7e2ed5603db8f.tar.gz
cpython-5081f7e976d8d1c5286f705d9ec7e2ed5603db8f.tar.bz2
#5566: remove duplicate entry.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/long.rst16
1 files changed, 3 insertions, 13 deletions
diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst
index a8dc3ec..19d65b8 100644
--- a/Doc/c-api/long.rst
+++ b/Doc/c-api/long.rst
@@ -133,9 +133,9 @@ All integers are implemented as "long" integer objects of arbitrary size.
single: PY_SSIZE_T_MAX
single: OverflowError (built-in exception)
- Return a C :ctype:`Py_ssize_t` representation of the contents of *pylong*. If
- *pylong* is greater than :const:`PY_SSIZE_T_MAX`, an :exc:`OverflowError` is raised
- and ``-1`` will be returned.
+ Return a C :ctype:`Py_ssize_t` representation of the contents of *pylong*.
+ If *pylong* is greater than :const:`PY_SSIZE_T_MAX`, an :exc:`OverflowError`
+ is raised and ``-1`` will be returned.
.. cfunction:: unsigned long PyLong_AsUnsignedLong(PyObject *pylong)
@@ -149,16 +149,6 @@ All integers are implemented as "long" integer objects of arbitrary size.
raised.
-.. cfunction:: Py_ssize_t PyLong_AsSsize_t(PyObject *pylong)
-
- .. index::
- single: PY_SSIZE_T_MAX
-
- Return a :ctype:`Py_ssize_t` representation of the contents of *pylong*. If
- *pylong* is greater than :const:`PY_SSIZE_T_MAX`, an :exc:`OverflowError` is
- raised.
-
-
.. cfunction:: size_t PyLong_AsSize_t(PyObject *pylong)
Return a :ctype:`size_t` representation of the contents of *pylong*. If