diff options
Diffstat (limited to 'Doc/c-api/dict.rst')
-rw-r--r-- | Doc/c-api/dict.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/dict.rst b/Doc/c-api/dict.rst index dc8ef53..d1ce7be 100644 --- a/Doc/c-api/dict.rst +++ b/Doc/c-api/dict.rst @@ -112,7 +112,7 @@ Dictionary Objects .. c:function:: PyObject* PyDict_SetDefault(PyObject *p, PyObject *key, PyObject *default) - This is the same the Python-level :meth:`dict.setdefault`. If present, it + This is the same as the Python-level :meth:`dict.setdefault`. If present, it returns the value corresponding to *key* from the dictionary *p*. If the key is not in the dict, it is inserted with value *defaultobj* and *defaultobj* is inserted. This function evaluates the hash function of *key* only once, |