Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/ipython/ipython
/ GoodPretty
Class
GoodPretty
tests/test_formatters.py:47–52 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
45
46
47
class
GoodPretty(object):
48
def
_repr_pretty_(self, pp, cycle):
49
pp.text(
"foo"
)
50
51
def
__repr__(self):
52
return
"GoodPretty()"
53
54
55
def
foo_printer(obj, pp, cycle):
Callers
1
test_pretty
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_pretty
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…