description

hrepr(obj)

obj

{'apple': [1, [[2]]], 'banana': [7, (8, 9)], 'cherry': {<class 'str'>: 'fire', <class 'int'>: 'forest', <class 'tests.test_hrepr.Point'>: Point(x=3, y=4)}}

result

{
apple:
[
1
[
[
2
]
]
]
banana:
[
7
(
8
9
)
]
cherry:
{
class str: fire
class int: forest
class Point:
Point
x=3
y=4
}
}