Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ipython/ipython
/ _repr_pretty_
Method
_repr_pretty_
tests/test_pretty.py:52–53 ·
view source on GitHub ↗
(self, p, cycle)
Source
from the content-addressed store, hash-verified
50
51
class
Dummy1(object):
52
def
_repr_pretty_(self, p, cycle):
53
p.text(
"Dummy1(...)"
)
54
55
56
class
Dummy2(Dummy1):
Callers
nothing calls this directly
Calls
1
text
Method · 0.45
Tested by
no test coverage detected