Correct name of 'defaultobj' parameter in PyDict_SetDefault() signature. (GH-11929)

This commit is contained in:
Sergey Fedoseev 2019-02-25 19:52:40 +05:00 committed by Serhiy Storchaka
parent 16323cb2c3
commit d90a141bb9
1 changed files with 1 additions and 1 deletions

View File

@ -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