summaryrefslogtreecommitdiffstats
path: root/Python/hamt.c
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2018-01-23 07:00:03 (GMT)
committerGitHub <noreply@github.com>2018-01-23 07:00:03 (GMT)
commit83c8675edb4fe278c5d930f7865977a5d3c7168a (patch)
treeab669bd8a004dbfe166d71e0a8f50f5f87d208c2 /Python/hamt.c
parentd83671e996f39484cff42e2f845e03ec2a64d71f (diff)
downloadcpython-83c8675edb4fe278c5d930f7865977a5d3c7168a.zip
cpython-83c8675edb4fe278c5d930f7865977a5d3c7168a.tar.gz
cpython-83c8675edb4fe278c5d930f7865977a5d3c7168a.tar.bz2
bpo-32436: Remove a redundant assert (#5275)
Diffstat (limited to 'Python/hamt.c')
-rw-r--r--Python/hamt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/hamt.c b/Python/hamt.c
index 8ba5082..eb69fdd 100644
--- a/Python/hamt.c
+++ b/Python/hamt.c
@@ -1116,7 +1116,6 @@ hamt_node_bitmap_find(PyHamtNode_Bitmap *self,
}
idx = hamt_bitindex(self->b_bitmap, bit);
- assert(idx >= 0);
key_idx = idx * 2;
val_idx = key_idx + 1;