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_formatters.py:48–49 ·
view source on GitHub ↗
(self, pp, cycle)
Source
from the content-addressed store, hash-verified
46
47
class
GoodPretty(object):
48
def
_repr_pretty_(self, pp, cycle):
49
pp.text(
"foo"
)
50
51
def
__repr__(self):
52
return
"GoodPretty()"
Callers
nothing calls this directly
Calls
1
text
Method · 0.45
Tested by
no test coverage detected