Kaydet (Commit) 5081f7e9 authored tarafından Georg Brandl's avatar Georg Brandl

#5566: remove duplicate entry.

üst d1863070
...@@ -133,9 +133,9 @@ All integers are implemented as "long" integer objects of arbitrary size. ...@@ -133,9 +133,9 @@ All integers are implemented as "long" integer objects of arbitrary size.
single: PY_SSIZE_T_MAX single: PY_SSIZE_T_MAX
single: OverflowError (built-in exception) single: OverflowError (built-in exception)
Return a C :ctype:`Py_ssize_t` representation of the contents of *pylong*. If Return a C :ctype:`Py_ssize_t` representation of the contents of *pylong*.
*pylong* is greater than :const:`PY_SSIZE_T_MAX`, an :exc:`OverflowError` is raised If *pylong* is greater than :const:`PY_SSIZE_T_MAX`, an :exc:`OverflowError`
and ``-1`` will be returned. is raised and ``-1`` will be returned.
.. cfunction:: unsigned long PyLong_AsUnsignedLong(PyObject *pylong) .. cfunction:: unsigned long PyLong_AsUnsignedLong(PyObject *pylong)
...@@ -149,16 +149,6 @@ All integers are implemented as "long" integer objects of arbitrary size. ...@@ -149,16 +149,6 @@ All integers are implemented as "long" integer objects of arbitrary size.
raised. 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) .. cfunction:: size_t PyLong_AsSize_t(PyObject *pylong)
Return a :ctype:`size_t` representation of the contents of *pylong*. If Return a :ctype:`size_t` representation of the contents of *pylong*. If
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment