Issue #4129: Add a versionchanged notice for a few forgotten entries.

This commit is contained in:
Jeroen Ruigrok van der Werven 2009-04-25 19:54:34 +00:00
parent de0fed10c8
commit af15b41547
1 changed files with 12 additions and 0 deletions

View 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)