mirror of
https://github.com/python/cpython.git
synced 2026-05-06 04:37:33 -04:00
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.
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user