summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/list.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/c-api/list.rst')
-rw-r--r--Doc/c-api/list.rst12
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)