We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bed37d6 commit d7f75f4Copy full SHA for d7f75f4
mypyc/irbuild/constant_fold.py
@@ -79,7 +79,7 @@ def constant_fold_expr(builder: IRBuilder, expr: Expression) -> ConstantValue |
79
index = constant_fold_expr(builder, expr.base)
80
if index is not None:
81
try:
82
- return base[index]
+ return base[index] # type: ignore [index]
83
except Exception:
84
return None
85
0 commit comments