From: Anonymous941 <36797492+Anonymous941@users.noreply.github.com> Date: Mon, 27 Apr 2026 07:21:53 +0000 (-0400) Subject: Fix typo in `ceval.c` error message (#148860) X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=54a8921140ba98461ca915fb80a043271c275b51;p=thirdparty%2FPython%2Fcpython.git Fix typo in `ceval.c` error message (#148860) Fix the "multiple values for keyword argument" error message used when the function's `__qualname__` cannot be retrieved. --- diff --git a/Python/ceval.c b/Python/ceval.c index 506ea591c385..0d7f8a62e246 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -3409,7 +3409,7 @@ _PyEval_FormatKwargsError(PyThreadState *tstate, PyObject *func, PyObject *kwarg _PyErr_Format( tstate, PyExc_TypeError, "%V got multiple values for keyword argument '%S'", - funcstr, "finction", dupkey); + funcstr, "function", dupkey); Py_XDECREF(funcstr); return; }