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

Method _repr_pretty_

IPython/core/tests/test_formatters.py:39–40  ·  view source on GitHub ↗
(self, pp, cycle)

Source from the content-addressed store, hash-verified

37
38class GoodPretty(object):
39 def _repr_pretty_(self, pp, cycle):
40 pp.text('foo')
41
42 def __repr__(self):
43 return 'GoodPretty()'

Callers

nothing calls this directly

Calls 1

textMethod · 0.45

Tested by

no test coverage detected