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 96aa63e commit 58e4b67Copy full SHA for 58e4b67
mypyc/codegen/emit.py
@@ -1245,4 +1245,4 @@ def _mypyc_safe_key(obj: object) -> str:
1245
This is NOT safe for use as a sort key for other types, so we MUST replace the
1246
original pprint._safe_key once we've pprinted our object.
1247
"""
1248
- return str(type(obj)) + repr(obj)
+ return str(type(obj)) + pprint.pformat(obj)
0 commit comments