From: Christian Heimes Date: Fri, 22 Aug 2008 21:23:47 +0000 (+0000) Subject: d is the correct format string X-Git-Tag: v2.6rc1~143 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=94a730540ae65b34c596d99e4dd199bfaee4332c;p=thirdparty%2FPython%2Fcpython.git d is the correct format string --- diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c index 82bfb14e69dd..d6dcffd41335 100644 --- a/Modules/_collectionsmodule.c +++ b/Modules/_collectionsmodule.c @@ -670,7 +670,7 @@ deque_repr(PyObject *deque) 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)");