mirror of https://github.com/python/cpython
bpo-36254: Fix yet one invalid use of %d in format string in C. (GH-12318)
This commit is contained in:
parent
f2f55e7f03
commit
2c0d3f4547
|
@ -2134,7 +2134,7 @@ vgetargskeywordsfast_impl(PyObject *const *args, Py_ssize_t nargs,
|
|||
}
|
||||
else {
|
||||
PyErr_Format(PyExc_TypeError,
|
||||
"%.200s%s takes %s %d positional argument%s (%d given)",
|
||||
"%.200s%s takes %s %d positional argument%s (%zd given)",
|
||||
(parser->fname == NULL) ? "function" : parser->fname,
|
||||
(parser->fname == NULL) ? "" : "()",
|
||||
(parser->min < parser->max) ? "at most" : "exactly",
|
||||
|
|
Loading…
Reference in New Issue