mirror of
https://github.com/python/cpython.git
synced 2026-06-27 19:36:07 +00: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:
parent
804c213c89
commit
54a8921140
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue