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 5d48f2e commit 662b030Copy full SHA for 662b030
mypyc/irbuild/for_helpers.py
@@ -446,7 +446,7 @@ def make_for_loop_generator(
446
if isinstance(expr, IndexExpr) and isinstance(expr.index, SliceExpr):
447
# TODO: maybe we must not apply this optimization to list type specifically
448
# because the need to check length changes at each iteration?
449
-
+
450
def constant_fold_or_none(expr: Expression | None) -> Any:
451
return None if expr is None else constant_fold_expr(builder, expr)
452
0 commit comments