diff options
| author | Christian Heimes <christian@cheimes.de> | 2008-08-22 21:23:47 +0000 |
|---|---|---|
| committer | Christian Heimes <christian@cheimes.de> | 2008-08-22 21:23:47 +0000 |
| commit | 94a730540ae65b34c596d99e4dd199bfaee4332c (patch) | |
| tree | 2723450847c9706e151ffa0a53673b6c8eb15940 /Modules/_collectionsmodule.c | |
| parent | b6a955672f513f93d36e5ba218fd3a5be2623bc6 (diff) | |
| download | cpython-git-94a730540ae65b34c596d99e4dd199bfaee4332c.tar.gz | |
d is the correct format string
Diffstat (limited to 'Modules/_collectionsmodule.c')
| -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 82bfb14e69..d6dcffd413 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)"); |
