mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Issue #9566: PyUnicode_FromFormatV() doesn't support %zi, use %zd instead
This commit is contained in:
parent
ed7e222454
commit
9d6f9367ea
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue