Mercurial > cpython-lru_cache-weakref
diff Modules/pyexpat.c @ 67361:c0fef8a144fa
Issue #9566: PyUnicode_FromFormatV() doesn't support %zi, use %zd instead
| author | Victor Stinner <victor.stinner@haypocalc.com> |
|---|---|
| date | Tue, 04 Jan 2011 22:00:04 +0000 |
| parents | 08192265d172 |
| children | 1450521b9d93 |
line wrap: on
line diff
--- a/Modules/pyexpat.c Tue Jan 04 21:58:10 2011 +0000 +++ b/Modules/pyexpat.c Tue Jan 04 22:00:04 2011 +0000 @@ -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; }
