]> granicus.if.org Git - python/commitdiff
#5566: remove duplicate entry.
authorGeorg Brandl <georg@python.org>
Tue, 31 Mar 2009 15:49:02 +0000 (15:49 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 31 Mar 2009 15:49:02 +0000 (15:49 +0000)
Doc/c-api/long.rst

index a8dc3eccbc9a138594504b384fc9e199a7892ab8..19d65b8a49800f1f1621dee9d100fcffe6f05fde 100644 (file)
@@ -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