From: Georg Brandl Date: Tue, 31 Mar 2009 15:46:30 +0000 (+0000) Subject: #5566: fix versionadded from PyLong ssize_t functions. X-Git-Tag: v2.7a1~1708 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=74c018a981c27c798307e832874448ed8b336cd2;p=python #5566: fix versionadded from PyLong ssize_t functions. --- diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst index 5caa89ecdd..a013eb74aa 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)