commit | 9d6f9367ead562cee010a5eae085660508d75839 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Tue Jan 04 22:00:04 2011 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Tue Jan 04 22:00:04 2011 +0000 |
tree | 5abb9f5a2fbbc2888577a40dbfdac5bd0aa094a8 | |
parent | ed7e2224542a595a8c1a5e9be92a467983329a28 [diff] |
Issue #9566: PyUnicode_FromFormatV() doesn't support %zi, use %zd instead
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 21ab088..ae98ef7 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c
@@ -831,7 +831,7 @@ 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; }