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:68–72 ·
view source on GitHub ↗
(self, p, cycle)
Source
from the content-addressed store, hash-verified
66
67
class
Breaking(object):
68
def
_repr_pretty_(self, p, cycle):
69
with
p.group(4,
"TG: "
,
":"
):
70
p.text(
"Breaking("
)
71
p.break_()
72
p.text(
")"
)
73
74
75
class
BreakingRepr(object):
Callers
nothing calls this directly
Calls
3
group
Method · 0.80
break_
Method · 0.80
text
Method · 0.45
Tested by
no test coverage detected