Kaydet (Commit) d90a141b authored tarafından Sergey Fedoseev's avatar Sergey Fedoseev Kaydeden (comit) Serhiy Storchaka

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

üst 16323cb2
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment