diff options
author | Christian Heimes <christian@cheimes.de> | 2008-08-22 21:23:47 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-08-22 21:23:47 (GMT) |
commit | 94a730540ae65b34c596d99e4dd199bfaee4332c (patch) | |
tree | 2723450847c9706e151ffa0a53673b6c8eb15940 /Modules | |
parent | b6a955672f513f93d36e5ba218fd3a5be2623bc6 (diff) | |
download | cpython-94a730540ae65b34c596d99e4dd199bfaee4332c.zip cpython-94a730540ae65b34c596d99e4dd199bfaee4332c.tar.gz cpython-94a730540ae65b34c596d99e4dd199bfaee4332c.tar.bz2 |
d is the correct format string
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_collectionsmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)"); |