diff options
Diffstat (limited to 'Doc/c-api/dict.rst')
| -rw-r--r-- | Doc/c-api/dict.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/c-api/dict.rst b/Doc/c-api/dict.rst index 1dbeffa..ed07f66 100644 --- a/Doc/c-api/dict.rst +++ b/Doc/c-api/dict.rst @@ -143,6 +143,10 @@ Dictionary Objects Return the number of items in the dictionary. This is equivalent to ``len(p)`` on a dictionary. + .. versionchanged:: 2.5 + This function returned an :ctype:`int` type. This might require changes + in your code for properly supporting 64-bit systems. + .. cfunction:: int PyDict_Next(PyObject *p, Py_ssize_t *ppos, PyObject **pkey, PyObject **pvalue) @@ -187,6 +191,10 @@ Dictionary Objects Py_DECREF(o); } + .. versionchanged:: 2.5 + This function used an :ctype:`int *` type for *ppos*. This might require + changes in your code for properly supporting 64-bit systems. + .. cfunction:: int PyDict_Merge(PyObject *a, PyObject *b, int override) |
