mirror of
https://github.com/python/cpython
synced 2024-09-16 02:09:58 +00:00
Fix compiler warning (int vs Py_ssize_t mismatch
This commit is contained in:
parent
87f2875252
commit
a361bd8dce
|
@ -2141,7 +2141,7 @@ builtin_zip(PyObject *self, PyObject *args)
|
||||||
if (it == NULL) {
|
if (it == NULL) {
|
||||||
if (PyErr_ExceptionMatches(PyExc_TypeError))
|
if (PyErr_ExceptionMatches(PyExc_TypeError))
|
||||||
PyErr_Format(PyExc_TypeError,
|
PyErr_Format(PyExc_TypeError,
|
||||||
"zip argument #%d must support iteration",
|
"zip argument #%zd must support iteration",
|
||||||
i+1);
|
i+1);
|
||||||
goto Fail_ret_itlist;
|
goto Fail_ret_itlist;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue