[Python-checkins] r65984 - python/trunk/Modules/_collectionsmodule.c
christian.heimes
python-checkins at python.org
Fri Aug 22 23:23:47 CEST 2008
Author: christian.heimes
Date: Fri Aug 22 23:23:47 2008
New Revision: 65984
Log:
d is the correct format string
Modified:
python/trunk/Modules/_collectionsmodule.c
Modified: python/trunk/Modules/_collectionsmodule.c
==============================================================================
--- python/trunk/Modules/_collectionsmodule.c (original)
+++ python/trunk/Modules/_collectionsmodule.c Fri Aug 22 23:23:47 2008
@@ -670,7 +670,7 @@
return NULL;
}
if (((dequeobject *)deque)->maxlen != -1)
- fmt = PyString_FromFormat("deque(%%r, maxlen=%" PY_FORMAT_SIZE_T "i)",
+ fmt = PyString_FromFormat("deque(%%r, maxlen=%" PY_FORMAT_SIZE_T "d)",
((dequeobject *)deque)->maxlen);
else
fmt = PyString_FromString("deque(%r)");
More information about the Python-checkins
mailing list