bpo-32436: Remove a redundant assert (#5275) · python/cpython@83c8675 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 83c8675

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -1116,7 +1116,6 @@ hamt_node_bitmap_find(PyHamtNode_Bitmap *self,
1116 1116 }
1117 1117
1118 1118 idx = hamt_bitindex(self->b_bitmap, bit);
1119 -assert(idx >= 0);
1120 1119 key_idx = idx * 2;
1121 1120 val_idx = key_idx + 1;
1122 1121

0 commit comments