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 1105aa8 commit 65aefbaCopy full SHA for 65aefba
mypyc/codegen/emit.py
@@ -1241,5 +1241,6 @@ class _mypyc_safe_key(pprint._safe_key):
1241
"""A custom sort key implementation for pprint that makes the output deterministic
1242
for all literal types supported by mypyc
1243
"""
1244
- def __lt__(self, other: "_mypyc_safe_key") -> bool:
+
1245
+ def __lt__(self, other: _mypyc_safe_key) -> bool:
1246
return str(type(self.obj)) + repr(self.obj) < str(type(other.obj)) + repr(other.obj)
0 commit comments