Skip to content

Commit 58e4b67

Browse files
Update emit.py
1 parent 96aa63e commit 58e4b67

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
@@ -1245,4 +1245,4 @@ def _mypyc_safe_key(obj: object) -> str:
12451245
This is NOT safe for use as a sort key for other types, so we MUST replace the
12461246
original pprint._safe_key once we've pprinted our object.
12471247
"""
1248-
return str(type(obj)) + repr(obj)
1248+
return str(type(obj)) + pprint.pformat(obj)

0 commit comments

Comments
 (0)