@@ -45,10 +45,6 @@ List Objects
4545 :cfunc: `PySequence_SetItem ` or expose the object to Python code before
4646 setting all items to a real object with :cfunc: `PyList_SetItem `.
4747
48- .. versionchanged :: 2.5
49- This function used an :ctype: `int ` for *size *. This might require
50- changes in your code for properly supporting 64-bit systems.
51-
5248
5349.. cfunction :: Py_ssize_t PyList_Size(PyObject *list)
5450
@@ -57,19 +53,11 @@ List Objects
5753 Return the length of the list object in *list *; this is equivalent to
5854 ``len(list) `` on a list object.
5955
60- .. versionchanged :: 2.5
61- This function returned an :ctype: `int `. This might require changes in
62- your code for properly supporting 64-bit systems.
63-
6456
6557.. cfunction :: Py_ssize_t PyList_GET_SIZE(PyObject *list)
6658
6759 Macro form of :cfunc: `PyList_Size ` without error checking.
6860
69- .. versionchanged :: 2.5
70- This macro returned an :ctype: `int `. This might require changes in your
71- code for properly supporting 64-bit systems.
72-
7361
7462.. cfunction :: PyObject* PyList_GetItem(PyObject *list, Py_ssize_t index)
7563
@@ -78,19 +66,11 @@ List Objects
7866 supported. If *pos * is out of bounds, return *NULL * and set an
7967 :exc: `IndexError ` exception.
8068
81- .. versionchanged :: 2.5
82- This function used an :ctype: `int ` for *index *. This might require
83- changes in your code for properly supporting 64-bit systems.
84-
8569
8670.. cfunction :: PyObject* PyList_GET_ITEM(PyObject *list, Py_ssize_t i)
8771
8872 Macro form of :cfunc: `PyList_GetItem ` without error checking.
8973
90- .. versionchanged :: 2.5
91- This macro used an :ctype: `int ` for *i *. This might require changes in
92- your code for properly supporting 64-bit systems.
93-
9474
9575.. cfunction :: int PyList_SetItem(PyObject *list, Py_ssize_t index, PyObject *item)
9676
@@ -102,10 +82,6 @@ List Objects
10282 This function "steals" a reference to *item * and discards a reference to
10383 an item already in the list at the affected position.
10484
105- .. versionchanged :: 2.5
106- This function used an :ctype: `int ` for *index *. This might require
107- changes in your code for properly supporting 64-bit systems.
108-
10985
11086.. cfunction :: void PyList_SET_ITEM(PyObject *list, Py_ssize_t i, PyObject *o)
11187
@@ -119,21 +95,13 @@ List Objects
11995 is being replaced; any reference in *list * at position *i * will be
12096 leaked.
12197
122- .. versionchanged :: 2.5
123- This macro used an :ctype: `int ` for *i *. This might require
124- changes in your code for properly supporting 64-bit systems.
125-
12698
12799.. cfunction :: int PyList_Insert(PyObject *list, Py_ssize_t index, PyObject *item)
128100
129101 Insert the item *item * into list *list * in front of index *index *. Return
130102 ``0 `` if successful; return ``-1 `` and set an exception if unsuccessful.
131103 Analogous to ``list.insert(index, item) ``.
132104
133- .. versionchanged :: 2.5
134- This function used an :ctype: `int ` for *index *. This might require
135- changes in your code for properly supporting 64-bit systems.
136-
137105
138106.. cfunction :: int PyList_Append(PyObject *list, PyObject *item)
139107
@@ -148,10 +116,6 @@ List Objects
148116 *low * and *high *. Return *NULL * and set an exception if unsuccessful.
149117 Analogous to ``list[low:high] ``.
150118
151- .. versionchanged :: 2.5
152- This function used an :ctype: `int ` for *low * and *high *. This might
153- require changes in your code for properly supporting 64-bit systems.
154-
155119
156120.. cfunction :: int PyList_SetSlice(PyObject *list, Py_ssize_t low, Py_ssize_t high, PyObject *itemlist)
157121
@@ -160,10 +124,6 @@ List Objects
160124 be *NULL *, indicating the assignment of an empty list (slice deletion).
161125 Return ``0 `` on success, ``-1 `` on failure.
162126
163- .. versionchanged :: 2.5
164- This function used an :ctype: `int ` for *low * and *high *. This might
165- require changes in your code for properly supporting 64-bit systems.
166-
167127
168128.. cfunction :: int PyList_Sort(PyObject *list)
169129
0 commit comments