MCPcopy Index your code
hub / github.com/ipython/ipython / GoodPretty

Class GoodPretty

tests/test_formatters.py:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46
47class GoodPretty(object):
48 def _repr_pretty_(self, pp, cycle):
49 pp.text("foo")
50
51 def __repr__(self):
52 return "GoodPretty()"
53
54
55def foo_printer(obj, pp, cycle):

Callers 1

test_prettyFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_prettyFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…