diff options
author | Jeroen Ruigrok van der Werven <asmodai@in-nomine.org> | 2009-04-25 20:50:27 (GMT) |
---|---|---|
committer | Jeroen Ruigrok van der Werven <asmodai@in-nomine.org> | 2009-04-25 20:50:27 (GMT) |
commit | 36378711b71ad478dcc66d768f8373db899e54c1 (patch) | |
tree | d96dd3af1fd76d54575a73a6f42f0106abdec125 /Doc | |
parent | 9594c2c5aa674624af861fdad95cb9eed7f575e1 (diff) | |
download | cpython-36378711b71ad478dcc66d768f8373db899e54c1.zip cpython-36378711b71ad478dcc66d768f8373db899e54c1.tar.gz cpython-36378711b71ad478dcc66d768f8373db899e54c1.tar.bz2 |
Issue #4129: int -> Py_ssize_t documentation.
Diffstat (limited to 'Doc')
-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 c934a1d..0b22090 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) @@ -200,6 +204,10 @@ Sequence Protocol .. versionadded:: 2.3 + .. 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) |