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

Method _repr_pretty_

tests/test_pretty.py:42–43  ·  view source on GitHub ↗
(self, p, cycle)

Source from the content-addressed store, hash-verified

40
41class MyDict(dict):
42 def _repr_pretty_(self, p, cycle):
43 p.text("MyDict(...)")
44
45
46class MyObj(object):

Callers

nothing calls this directly

Calls 1

textMethod · 0.45

Tested by

no test coverage detected