MCPcopy 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
67class 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
75class BreakingRepr(object):

Callers

nothing calls this directly

Calls 3

groupMethod · 0.80
break_Method · 0.80
textMethod · 0.45

Tested by

no test coverage detected