]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #4129: Add a versionchanged notice for a few forgotten entries.
authorJeroen Ruigrok van der Werven <asmodai@in-nomine.org>
Sat, 25 Apr 2009 19:54:34 +0000 (19:54 +0000)
committerJeroen Ruigrok van der Werven <asmodai@in-nomine.org>
Sat, 25 Apr 2009 19:54:34 +0000 (19:54 +0000)
Doc/c-api/list.rst

index 81e57ea96eb3a26d3e06e1e5f887975fdf58a282..715efa5d322887b00b18b276d060b12d9cdcb509 100644 (file)
@@ -71,6 +71,10 @@ List Objects
 
    Macro form of :cfunc:`PyList_Size` without error checking.
 
+   .. versionchanged:: 2.5
+      This function returned an :ctype:`int`. This might require changes in
+      your code for properly supporting 64-bit systems.
+
 
 .. cfunction:: PyObject* PyList_GetItem(PyObject *list, Py_ssize_t index)
 
@@ -88,6 +92,10 @@ List Objects
 
    Macro form of :cfunc:`PyList_GetItem` without error checking.
 
+   .. versionchanged:: 2.5
+      This function used an :ctype:`int` for *i*. This might require changes
+      in your code for properly supporting 64-bit systems.
+
 
 .. cfunction:: int PyList_SetItem(PyObject *list, Py_ssize_t index, PyObject *item)
 
@@ -116,6 +124,10 @@ List Objects
       it being replaced; any reference in *list* at position *i* will be
       leaked.
 
+   .. versionchanged:: 2.5
+      This function used an :ctype:`int` for *i*. This might require
+      changes in your code for properly supporting 64-bit systems.
+
 
 .. cfunction:: int PyList_Insert(PyObject *list, Py_ssize_t index, PyObject *item)