summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-09-30 21:02:52 (GMT)
committerGeorg Brandl <georg@python.org>2014-09-30 21:02:52 (GMT)
commit3e430eba6eb70b93f7814b7b6680ca4021b06ef3 (patch)
tree099ac0e0c6170cf7deb2ab515f4f765b110f5625
parentf16fbf940fdaec594eb1f4c5f9c61e926db53c5d (diff)
downloadcpython-3e430eba6eb70b93f7814b7b6680ca4021b06ef3.zip
cpython-3e430eba6eb70b93f7814b7b6680ca4021b06ef3.tar.gz
cpython-3e430eba6eb70b93f7814b7b6680ca4021b06ef3.tar.bz2
Remove duplicate PyLong function descriptions.
-rw-r--r--Doc/c-api/long.rst28
1 files changed, 0 insertions, 28 deletions
diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst
index 5a8e51d..28fb589 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::