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

Method _repr_pretty_

IPython/core/magics/execution.py:132–134  ·  view source on GitHub ↗
(self, p , cycle)

Source from the content-addressed store, hash-verified

130 )
131
132 def _repr_pretty_(self, p , cycle):
133 unic = self.__str__()
134 p.text("<TimeitResult : " + unic + ">")
135
136
137class TimeitTemplateFiller(ast.NodeTransformer):

Callers

nothing calls this directly

Calls 2

__str__Method · 0.95
textMethod · 0.45

Tested by

no test coverage detected