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 e456707 commit 888aa41Copy full SHA for 888aa41
mypyc/irbuild/expression.py
@@ -9,7 +9,7 @@
9
import math
10
from collections.abc import Sequence
11
from functools import partial
12
-from typing import Callable
+from typing import Callable, Union
13
14
from mypy.nodes import (
15
ARG_NAMED,
@@ -116,7 +116,7 @@
116
from mypyc.primitives.str_ops import str_slice_op
117
from mypyc.primitives.tuple_ops import list_tuple_op, tuple_slice_op
118
119
-ConstantValueTuple = ConstantValue | tuple["ConstantValueTuple", ...]
+ConstantValueTuple = Union[ConstantValue, tuple["ConstantValueTuple", ...]]
120
121
# Name and attribute references
122
0 commit comments