]> granicus.if.org Git - python/commitdiff
Issue #4129: int -> Py_ssize_t documentation.
authorJeroen Ruigrok van der Werven <asmodai@in-nomine.org>
Sat, 25 Apr 2009 20:50:27 +0000 (20:50 +0000)
committerJeroen Ruigrok van der Werven <asmodai@in-nomine.org>
Sat, 25 Apr 2009 20:50:27 +0000 (20:50 +0000)
Doc/c-api/sequence.rst

index c934a1d561ce391c793c07849bb7cd7fd982f95c..0b220904468a038c10670b9e1f5d3f91f5550f19 100644 (file)
@@ -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)