Skip to content

Commit 5f85bcd

Browse files
Update for_helpers.py
1 parent 777ad24 commit 5f85bcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mypyc/irbuild/for_helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from __future__ import annotations
99

10-
from typing import Any, Callable, ClassVar, Union
10+
from typing import Any, Callable, ClassVar
1111

1212
from mypy.nodes import (
1313
ARG_POS,
@@ -883,7 +883,7 @@ def __init__(
883883
body_block: BasicBlock,
884884
loop_exit: BasicBlock,
885885
line: int,
886-
expr: Union[ListExpr, SetExpr, TupleExpr],
886+
expr: ListExpr | SetExpr | TupleExpr,
887887
body_insts: GenFunc,
888888
) -> None:
889889
super().__init__(builder, index, body_block, loop_exit, line, nested=False)

0 commit comments

Comments
 (0)