diff options
author | Raymond Hettinger <python@rcn.com> | 2008-07-24 00:53:49 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2008-07-24 00:53:49 (GMT) |
commit | 723ba3049afcdcbc90aa0e9cc6a0873080a8b93b (patch) | |
tree | 14c682f5378b56d0e713d92057b30f1a590f1303 /Modules | |
parent | 33fcf9db74f6bb04e0d432da631dd90c1fb7ec59 (diff) | |
download | cpython-723ba3049afcdcbc90aa0e9cc6a0873080a8b93b.zip cpython-723ba3049afcdcbc90aa0e9cc6a0873080a8b93b.tar.gz cpython-723ba3049afcdcbc90aa0e9cc6a0873080a8b93b.tar.bz2 |
Parse to the correct datatype.
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 9d6b6cd..4517811 100644 --- a/Modules/_collectionsmodule.c +++ b/Modules/_collectionsmodule.c @@ -394,7 +394,7 @@ deque_rotate(dequeobject *deque, PyObject *args) { Py_ssize_t n=1; - if (!PyArg_ParseTuple(args, "|i:rotate", &n)) + if (!PyArg_ParseTuple(args, "|n:rotate", &n)) return NULL; if (_deque_rotate(deque, n) == 0) Py_RETURN_NONE; |