Skip to content

Commit 6abe3e5

Browse files
committed
fix mypy errs
1 parent b03b6b6 commit 6abe3e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/codegen/literals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def literal_index(self, value: LiteralValue) -> int:
121121
return n + self.dict_literals[key]
122122
assert False, "invalid literal: %r" % value
123123

124-
def make_dict_literal_key(self, value: dict) -> tuple:
124+
def make_dict_literal_key(self, value: dict[LiteralValue, LiteralValue]) -> tuple[tuple[LiteralValue, LiteralValue]]:
125125
"""Make a unique key for a literal dict."""
126126
return tuple(value.items())
127127

0 commit comments

Comments
 (0)