From: Jeroen Ruigrok van der Werven Date: Sat, 25 Apr 2009 19:54:34 +0000 (+0000) Subject: Issue #4129: Add a versionchanged notice for a few forgotten entries. X-Git-Tag: v2.7a1~1390 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af15b4154764584e3cdc8c6338ec0f6a12e7fc29;p=thirdparty%2FPython%2Fcpython.git Issue #4129: Add a versionchanged notice for a few forgotten entries. --- diff --git a/Doc/c-api/list.rst b/Doc/c-api/list.rst index 81e57ea96eb3..715efa5d3228 100644 --- a/Doc/c-api/list.rst +++ b/Doc/c-api/list.rst @@ -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)