From: Jeroen Ruigrok van der Werven Date: Sat, 25 Apr 2009 20:50:27 +0000 (+0000) Subject: Issue #4129: int -> Py_ssize_t documentation. X-Git-Tag: v2.7a1~1384 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36378711b71ad478dcc66d768f8373db899e54c1;p=python Issue #4129: int -> Py_ssize_t documentation. --- diff --git a/Doc/c-api/sequence.rst b/Doc/c-api/sequence.rst index c934a1d561..0b22090446 100644 --- a/Doc/c-api/sequence.rst +++ b/Doc/c-api/sequence.rst @@ -178,6 +178,10 @@ Sequence Protocol Return the *i*th element of *o*, assuming that *o* was returned by :cfunc:`PySequence_Fast`, *o* is not *NULL*, and that *i* is within bounds. + .. versionchanged:: 2.5 + This function used an :ctype:`int` type for *i*. This might require + changes in your code for properly supporting 64-bit systems. + .. cfunction:: PyObject** PySequence_Fast_ITEMS(PyObject *o) @@ -200,6 +204,10 @@ Sequence Protocol .. versionadded:: 2.3 + .. versionchanged:: 2.5 + This function used an :ctype:`int` type for *i*. This might require + changes in your code for properly supporting 64-bit systems. + .. cfunction:: Py_ssize_t PySequence_Fast_GET_SIZE(PyObject *o)