summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-03-31 15:46:30 (GMT)
committerGeorg Brandl <georg@python.org>2009-03-31 15:46:30 (GMT)
commit74c018a981c27c798307e832874448ed8b336cd2 (patch)
treee80c3988f3a126d3c8280f3d5cf4aaa337e24223 /Doc/c-api
parent382edff28985d183e67bbe5bf93a5548f12a2fea (diff)
downloadcpython-74c018a981c27c798307e832874448ed8b336cd2.zip
cpython-74c018a981c27c798307e832874448ed8b336cd2.tar.gz
cpython-74c018a981c27c798307e832874448ed8b336cd2.tar.bz2
#5566: fix versionadded from PyLong ssize_t functions.
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/long.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst
index 5caa89e..a013eb7 100644
--- a/Doc/c-api/long.rst
+++ b/Doc/c-api/long.rst
@@ -54,7 +54,7 @@ Long Integer Objects
Return a new :ctype:`PyLongObject` object from a C :ctype:`Py_ssize_t`, or
*NULL* on failure.
- .. versionadded:: 2.5
+ .. versionadded:: 2.6
.. cfunction:: PyObject* PyLong_FromSize_t(size_t v)
@@ -62,7 +62,7 @@ Long Integer Objects
Return a new :ctype:`PyLongObject` object from a C :ctype:`size_t`, or
*NULL* on failure.
- .. versionadded:: 2.5
+ .. versionadded:: 2.6
.. cfunction:: PyObject* PyLong_FromLongLong(PY_LONG_LONG v)
@@ -139,7 +139,7 @@ Long Integer Objects
*pylong* is greater than :const:`PY_SSIZE_T_MAX`, an :exc:`OverflowError` is raised
and ``-1`` will be returned.
- .. versionadded:: 2.5
+ .. versionadded:: 2.6
.. cfunction:: unsigned long PyLong_AsUnsignedLong(PyObject *pylong)