commit | 2c95cc6d72957296c46bb11362359675a47e2085 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Thu Feb 16 06:54:25 2006 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Thu Feb 16 06:54:25 2006 +0000 |
tree | 9e6e78432b2aef86240297833b644d4d60d771a7 | |
parent | 26efe402c2a5dba441dc2feae2f15fea6be452ba [diff] [blame] |
Support %zd in PyErr_Format and PyString_FromFormat.
diff --git a/Objects/dictobject.c b/Objects/dictobject.c index abc9c8c..7910cb6 100644 --- a/Objects/dictobject.c +++ b/Objects/dictobject.c
@@ -1148,7 +1148,7 @@ if (n != 2) { PyErr_Format(PyExc_ValueError, "dictionary update sequence element #%d " - "has length %ld; 2 is required", + "has length %zd; 2 is required", i, (long)n); goto Fail; }