Skip to content

Commit e456707

Browse files
committed
fix mypy err
1 parent 063831d commit e456707

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/irbuild/expression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ def _visit_tuple_display(builder: IRBuilder, expr: TupleExpr) -> Value:
10201020

10211021
def dict_literal_values(
10221022
builder: IRBuilder, items: Sequence[tuple[Expression | None, Expression]], line: int
1023-
) -> dict[ConstantValue, ConstantValue] | None:
1023+
) -> dict[ConstantValueTuple, ConstantValueTuple] | None:
10241024
"""Try to extract a constant dict from a dict literal, recursively staticizing nested dicts.
10251025
10261026
If all keys and values are deeply immutable and constant (including nested dicts as values),

0 commit comments

Comments
 (0)