From d14999b18407302b5a291aed49382a0ca8baf7c6 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Mon, 25 Feb 2019 07:18:20 -0800 Subject: [PATCH] Correct name of 'defaultobj' parameter in PyDict_SetDefault() signature. (GH-11929) (cherry picked from commit d90a141bb947b68601f8d1f37bc98f7b524f0e01) Co-authored-by: Sergey Fedoseev --- Doc/c-api/dict.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/dict.rst b/Doc/c-api/dict.rst index 4e55c1a977ce..0ced5a5fd001 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 -- 2.47.3