summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Doc/c-api/dict.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/dict.rst b/Doc/c-api/dict.rst
index 4e55c1a977..0ced5a5fd0 100644
--- a/Doc/c-api/dict.rst
+++ b/Doc/c-api/dict.rst
@@ -119,7 +119,7 @@ Dictionary Objects
To get error reporting use :c:func:`PyDict_GetItemWithError()` instead.
-.. c:function:: PyObject* PyDict_SetDefault(PyObject *p, PyObject *key, PyObject *default)
+.. c:function:: PyObject* PyDict_SetDefault(PyObject *p, PyObject *key, PyObject *defaultobj)
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