From 94a730540ae65b34c596d99e4dd199bfaee4332c Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Fri, 22 Aug 2008 21:23:47 +0000 Subject: d is the correct format string --- Modules/_collectionsmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c index 82bfb14..d6dcffd 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)"); -- cgit v0.12