diff options
author | Jeroen Ruigrok van der Werven <asmodai@in-nomine.org> | 2009-04-25 19:54:34 (GMT) |
---|---|---|
committer | Jeroen Ruigrok van der Werven <asmodai@in-nomine.org> | 2009-04-25 19:54:34 (GMT) |
commit | af15b4154764584e3cdc8c6338ec0f6a12e7fc29 (patch) | |
tree | 72573f2eb3b11d3a15f2ef99303cd556850343df | |
parent | de0fed10c86ca7517eef525f2f0b84f8d34c27f2 (diff) | |
download | cpython-af15b4154764584e3cdc8c6338ec0f6a12e7fc29.zip cpython-af15b4154764584e3cdc8c6338ec0f6a12e7fc29.tar.gz cpython-af15b4154764584e3cdc8c6338ec0f6a12e7fc29.tar.bz2 |
Issue #4129: Add a versionchanged notice for a few forgotten entries.
-rw-r--r-- | Doc/c-api/list.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/c-api/list.rst b/Doc/c-api/list.rst index 81e57ea..715efa5 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) |