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

Class GoodPretty

IPython/core/tests/test_formatters.py:38–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 _repr_pretty_ = None
37
38class GoodPretty(object):
39 def _repr_pretty_(self, pp, cycle):
40 pp.text('foo')
41
42 def __repr__(self):
43 return 'GoodPretty()'
44
45def foo_printer(obj, pp, cycle):
46 pp.text('foo')

Callers 1

test_prettyFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_prettyFunction · 0.68