description

hrepr(obj, max_depth=2)

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
[
...
]
]
banana:
[
7
(
...
)
]
cherry:
{
class str: fire
class int: forest
class Point:
Point
...
}
}