We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca5e6aa commit d14999bCopy full SHA for d14999b
Doc/c-api/dict.rst
@@ -119,7 +119,7 @@ Dictionary Objects
119
To get error reporting use :c:func:`PyDict_GetItemWithError()` instead.
120
121
122
-.. c:function:: PyObject* PyDict_SetDefault(PyObject *p, PyObject *key, PyObject *default)
+.. c:function:: PyObject* PyDict_SetDefault(PyObject *p, PyObject *key, PyObject *defaultobj)
123
124
This is the same as the Python-level :meth:`dict.setdefault`. If present, it
125
returns the value corresponding to *key* from the dictionary *p*. If the key
0 commit comments