Skip to content

Commit 9bd78f3

Browse files
Update constant_fold.py
1 parent 22651fe commit 9bd78f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/irbuild/constant_fold.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def constant_fold_expr(builder: IRBuilder, expr: Expression) -> ConstantValue |
9898
if stride is None:
9999
return None
100100
try:
101-
return base[begin_index:end_index:stride]
101+
return base[begin_index:end_index:stride] # type: ignore [index, misc]
102102
except Exception:
103103
return None
104104

0 commit comments

Comments
 (0)