summaryrefslogtreecommitdiffstats
path: root/Modules/_collectionsmodule.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2015-02-28 00:59:29 (GMT)
committerRaymond Hettinger <python@rcn.com>2015-02-28 00:59:29 (GMT)
commit7e8c7956a7edc1505055d3dd9e5180fa30a3cab9 (patch)
tree4ecffbe5b084330aafd933c72fda0977e122a6eb /Modules/_collectionsmodule.c
parentda2850f93269b8daf0b1c3d6d1303162a98c13f6 (diff)
downloadcpython-7e8c7956a7edc1505055d3dd9e5180fa30a3cab9.zip
cpython-7e8c7956a7edc1505055d3dd9e5180fa30a3cab9.tar.gz
cpython-7e8c7956a7edc1505055d3dd9e5180fa30a3cab9.tar.bz2
Line missed in last checkin
Diffstat (limited to 'Modules/_collectionsmodule.c')
-rw-r--r--Modules/_collectionsmodule.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c
index 0bc0e98..8494a47 100644
--- a/Modules/_collectionsmodule.c
+++ b/Modules/_collectionsmodule.c
@@ -783,7 +783,6 @@ deque_item(dequeobject *deque, Py_ssize_t i)
assert(i >= 0);
n = (Py_ssize_t)((unsigned) i / BLOCKLEN);
i = (Py_ssize_t)((unsigned) i % BLOCKLEN);
- i %= BLOCKLEN;
if (index < (Py_SIZE(deque) >> 1)) {
b = deque->leftblock;
while (n--)