mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
Correct name of 'defaultobj' parameter in PyDict_SetDefault() signature. (GH-11929)
This commit is contained in:
parent
16323cb2c3
commit
d90a141bb9
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ Dictionary Objects
|
||||||
To get error reporting use :c:func:`PyDict_GetItemWithError()` instead.
|
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
|
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
|
returns the value corresponding to *key* from the dictionary *p*. If the key
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue