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:42–43 ·
view source on GitHub ↗
(self, p, cycle)
Source
from the content-addressed store, hash-verified
40
41
class
MyDict(dict):
42
def
_repr_pretty_(self, p, cycle):
43
p.text(
"MyDict(...)"
)
44
45
46
class
MyObj(object):
Callers
nothing calls this directly
Calls
1
text
Method · 0.45
Tested by
no test coverage detected