mirror of
https://github.com/python/cpython.git
synced 2025-07-17 00:05:20 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue