[Python-checkins] r71899 - python/trunk/Doc/c-api/dict.rst

jeroen.ruigrok python-checkins at python.org
Sat Apr 25 16:27:01 CEST 2009


Author: jeroen.ruigrok
Date: Sat Apr 25 16:27:00 2009
New Revision: 71899

Log:
The type for ppos has been Py_ssize_t since 2.5, reflect this in the
documentation.


Modified:
   python/trunk/Doc/c-api/dict.rst

Modified: python/trunk/Doc/c-api/dict.rst
==============================================================================
--- python/trunk/Doc/c-api/dict.rst	(original)
+++ python/trunk/Doc/c-api/dict.rst	Sat Apr 25 16:27:00 2009
@@ -146,7 +146,7 @@
 
 .. cfunction:: int PyDict_Next(PyObject *p, Py_ssize_t *ppos, PyObject **pkey, PyObject **pvalue)
 
-   Iterate over all key-value pairs in the dictionary *p*.  The :ctype:`int`
+   Iterate over all key-value pairs in the dictionary *p*.  The :ctype:`Py_ssize_t`
    referred to by *ppos* must be initialized to ``0`` prior to the first call
    to this function to start the iteration; the function returns true for each
    pair in the dictionary, and false once all pairs have been reported.  The


More information about the Python-checkins mailing list