Skip to content

Commit 7fa3a98

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent fd075dd commit 7fa3a98

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mypyc/codegen/literals.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ def literal_index(self, value: LiteralValue) -> int:
130130
return n + self.dict_literals[key]
131131
assert False, "invalid literal: %r" % value
132132

133-
def make_dict_literal_key(self, value: dict[LiteralValue, LiteralValue]) -> tuple[tuple[LiteralValue, LiteralValue]]:
133+
def make_dict_literal_key(
134+
self, value: dict[LiteralValue, LiteralValue]
135+
) -> tuple[tuple[LiteralValue, LiteralValue]]:
134136
"""Make a unique key for a literal dict."""
135137
return tuple(value.items())
136138

0 commit comments

Comments
 (0)