Skip to content

Commit 174d9c3

Browse files
Update emit.py
1 parent 831f412 commit 174d9c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/codegen/emit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ def c_array_initializer(components: list[str], *, indented: bool = False) -> str
12381238
return "{\n " + ",\n ".join(res) + "\n" + indent + "}"
12391239

12401240

1241-
class _mypyc_safe_key(pprint._safe_key): # type: ignore [attr-defined, misc]
1241+
class _mypyc_safe_key(pprint._safe_key): # type: ignore [attr-defined, name-defined, misc]
12421242
"""A custom sort key implementation for pprint that makes the output deterministic
12431243
for all literal types supported by mypyc.
12441244

0 commit comments

Comments
 (0)