[Python-checkins] r71931 - python/trunk/Doc/c-api/sequence.rst
jeroen.ruigrok
python-checkins at python.org
Sat Apr 25 22:50:27 CEST 2009
Author: jeroen.ruigrok
Date: Sat Apr 25 22:50:27 2009
New Revision: 71931
Log:
Issue #4129: int -> Py_ssize_t documentation.
Modified:
python/trunk/Doc/c-api/sequence.rst
Modified: python/trunk/Doc/c-api/sequence.rst
==============================================================================
--- python/trunk/Doc/c-api/sequence.rst (original)
+++ python/trunk/Doc/c-api/sequence.rst Sat Apr 25 22:50:27 2009
@@ -178,6 +178,10 @@
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 @@
.. 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)
More information about the Python-checkins
mailing list