From: Georg Brandl Date: Tue, 30 Sep 2014 21:02:52 +0000 (+0200) Subject: Remove duplicate PyLong function descriptions. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e430eba6eb70b93f7814b7b6680ca4021b06ef3;p=python Remove duplicate PyLong function descriptions. --- diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst index 5a8e51dcea..28fb589a6f 100644 --- a/Doc/c-api/long.rst +++ b/Doc/c-api/long.rst @@ -65,22 +65,6 @@ Long Integer Objects .. versionadded:: 2.6 -.. c:function:: PyObject* PyLong_FromSsize_t(Py_ssize_t v) - - Return a new :c:type:`PyLongObject` object with a value of *v*, or *NULL* - on failure. - - .. versionadded:: 2.6 - - -.. c:function:: PyObject* PyLong_FromSize_t(size_t v) - - Return a new :c:type:`PyLongObject` object with a value of *v*, or *NULL* - on failure. - - .. versionadded:: 2.6 - - .. c:function:: PyObject* PyLong_FromLongLong(PY_LONG_LONG v) Return a new :c:type:`PyLongObject` object from a C :c:type:`long long`, or *NULL* @@ -199,18 +183,6 @@ Long Integer Objects raised. -.. c:function:: Py_ssize_t PyLong_AsSsize_t(PyObject *pylong) - - .. index:: - single: PY_SSIZE_T_MAX - - Return a :c:type:`Py_ssize_t` representation of the contents of *pylong*. If - *pylong* is greater than :const:`PY_SSIZE_T_MAX`, an :exc:`OverflowError` is - raised. - - .. versionadded:: 2.6 - - .. c:function:: PY_LONG_LONG PyLong_AsLongLong(PyObject *pylong) .. index::