MCPcopy Create free account
hub / github.com/ipython/ipython / _repr_pretty_

Method _repr_pretty_

IPython/lib/tests/test_pretty.py:49–50  ·  view source on GitHub ↗
(self, p, cycle)

Source from the content-addressed store, hash-verified

47
48class Dummy1(object):
49 def _repr_pretty_(self, p, cycle):
50 p.text("Dummy1(...)")
51
52class Dummy2(Dummy1):
53 _repr_pretty_ = None

Callers

nothing calls this directly

Calls 1

textMethod · 0.45

Tested by

no test coverage detected