Skip to content

Commit d90a141

Browse files
sir-sigurdserhiy-storchaka
authored andcommitted
Correct name of 'defaultobj' parameter in PyDict_SetDefault() signature. (GH-11929)
1 parent 16323cb commit d90a141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/dict.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Dictionary Objects
119119
To get error reporting use :c:func:`PyDict_GetItemWithError()` instead.
120120
121121
122-
.. c:function:: PyObject* PyDict_SetDefault(PyObject *p, PyObject *key, PyObject *default)
122+
.. c:function:: PyObject* PyDict_SetDefault(PyObject *p, PyObject *key, PyObject *defaultobj)
123123
124124
This is the same as the Python-level :meth:`dict.setdefault`. If present, it
125125
returns the value corresponding to *key* from the dictionary *p*. If the key

0 commit comments

Comments
 (0)