diff options
Diffstat (limited to 'Doc/c-api/sequence.rst')
-rw-r--r-- | Doc/c-api/sequence.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/c-api/sequence.rst b/Doc/c-api/sequence.rst index 132c100..b3e76b7 100644 --- a/Doc/c-api/sequence.rst +++ b/Doc/c-api/sequence.rst @@ -178,6 +178,10 @@ Sequence Protocol Return the *i*th element of *o*, assuming that *o* was returned by :cfunc:`PySequence_Fast`, *o* is not *NULL*, and that *i* is within bounds. + .. versionchanged:: 2.5 + This function used an :ctype:`int` type for *i*. This might require + changes in your code for properly supporting 64-bit systems. + .. cfunction:: PyObject** PySequence_Fast_ITEMS(PyObject *o) @@ -196,6 +200,10 @@ Sequence Protocol :cfunc:`PySequence_Check(o)` is true and without adjustment for negative indices. + .. versionchanged:: 2.5 + This function used an :ctype:`int` type for *i*. This might require + changes in your code for properly supporting 64-bit systems. + .. cfunction:: Py_ssize_t PySequence_Fast_GET_SIZE(PyObject *o) |