Issue #9566: PyUnicode_FromFormatV() doesn't support %zi, use %zd instead

This commit is contained in:
Victor Stinner 2011-01-04 22:00:04 +00:00
parent ed7e222454
commit 9d6f9367ea
1 changed files with 1 additions and 1 deletions

View File

@ -831,7 +831,7 @@ readinst(char *buf, int buf_size, PyObject *meth)
if (len > buf_size) {
PyErr_Format(PyExc_ValueError,
"read() returned too much data: "
"%i bytes requested, %zi returned",
"%i bytes requested, %zd returned",
buf_size, len);
goto finally;
}