diff options
author | Jeroen Ruigrok van der Werven <asmodai@in-nomine.org> | 2009-04-25 20:58:35 (GMT) |
---|---|---|
committer | Jeroen Ruigrok van der Werven <asmodai@in-nomine.org> | 2009-04-25 20:58:35 (GMT) |
commit | acc73b74b8daf5a603004e1494d11bfebfa6041b (patch) | |
tree | dbedde3cf1b574e12de547ef430dc60413730e6f /Doc | |
parent | 7b3750c8d896a1f8478868d3e442748143b0b317 (diff) | |
download | cpython-acc73b74b8daf5a603004e1494d11bfebfa6041b.zip cpython-acc73b74b8daf5a603004e1494d11bfebfa6041b.tar.gz cpython-acc73b74b8daf5a603004e1494d11bfebfa6041b.tar.bz2 |
Issue #4129: more int -> Py_ssize_t documentation.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/c-api/tuple.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/c-api/tuple.rst b/Doc/c-api/tuple.rst index cf1c790..53db2a1 100644 --- a/Doc/c-api/tuple.rst +++ b/Doc/c-api/tuple.rst @@ -74,6 +74,10 @@ Tuple Objects Return the size of the tuple *p*, which must be non-*NULL* and point to a tuple; no error checking is performed. + .. versionchanged:: 2.5 + This function returned an :ctype:`int` type. This might require changes + in your code for properly supporting 64-bit systems. + .. cfunction:: PyObject* PyTuple_GetItem(PyObject *p, Py_ssize_t pos) @@ -89,6 +93,10 @@ Tuple Objects Like :cfunc:`PyTuple_GetItem`, but does no checking of its arguments. + .. versionchanged:: 2.5 + This function used an :ctype:`int` type for *pos*. This might require + changes in your code for properly supporting 64-bit systems. + .. cfunction:: PyObject* PyTuple_GetSlice(PyObject *p, Py_ssize_t low, Py_ssize_t high) @@ -123,6 +131,10 @@ Tuple Objects This function "steals" a reference to *o*. + .. versionchanged:: 2.5 + This function used an :ctype:`int` type for *pos*. This might require + changes in your code for properly supporting 64-bit systems. + .. cfunction:: int _PyTuple_Resize(PyObject **p, Py_ssize_t newsize) |