Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a361bd8

Browse files
committed
Fix compiler warning (int vs Py_ssize_t mismatch
1 parent 87f2875 commit a361bd8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/bltinmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2141,7 +2141,7 @@ builtin_zip(PyObject *self, PyObject *args)
21412141
if (it == NULL) {
21422142
if (PyErr_ExceptionMatches(PyExc_TypeError))
21432143
PyErr_Format(PyExc_TypeError,
2144-
"zip argument #%d must support iteration",
2144+
"zip argument #%zd must support iteration",
21452145
i+1);
21462146
goto Fail_ret_itlist;
21472147
}

0 commit comments

Comments
 (0)