summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/Python/bltinmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tools/python3/Python/bltinmodule.c')
-rw-r--r--contrib/tools/python3/Python/bltinmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/tools/python3/Python/bltinmodule.c b/contrib/tools/python3/Python/bltinmodule.c
index 5ded0bba13b..bcf7e7355da 100644
--- a/contrib/tools/python3/Python/bltinmodule.c
+++ b/contrib/tools/python3/Python/bltinmodule.c
@@ -2973,7 +2973,7 @@ check:
// ValueError: zip() argument 3 is shorter than arguments 1-2
const char* plural = i == 1 ? " " : "s 1-";
return PyErr_Format(PyExc_ValueError,
- "zip() argument %d is shorter than argument%s%d",
+ "zip() argument %zd is shorter than argument%s%zd",
i + 1, plural, i);
}
for (i = 1; i < tuplesize; i++) {
@@ -2983,7 +2983,7 @@ check:
Py_DECREF(item);
const char* plural = i == 1 ? " " : "s 1-";
return PyErr_Format(PyExc_ValueError,
- "zip() argument %d is longer than argument%s%d",
+ "zip() argument %zd is longer than argument%s%zd",
i + 1, plural, i);
}
if (PyErr_Occurred()) {