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

Method _repr_pretty_

IPython/core/magics/basic.py:41–42  ·  view source on GitHub ↗
(self, p, cycle)

Source from the content-addressed store, hash-verified

39 return '\n'.join(out)
40
41 def _repr_pretty_(self, p, cycle):
42 p.text(self._lsmagic())
43
44 def __repr__(self):
45 return self.__str__()

Callers

nothing calls this directly

Calls 2

_lsmagicMethod · 0.95
textMethod · 0.45

Tested by

no test coverage detected