mirror of
https://github.com/python/cpython.git
synced 2026-02-05 09:25:35 +00:00
Issue #4129: Add a versionchanged notice for a few forgotten entries.
This commit is contained in:
parent
de0fed10c8
commit
af15b41547
1 changed files with 12 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue