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

Method _repr_pretty_

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

Source from the content-addressed store, hash-verified

116 )
117
118 def _repr_pretty_(self, p , cycle):
119 unic = self.__str__()
120 p.text(u'<TimeitResult : '+unic+u'>')
121
122
123class TimeitTemplateFiller(ast.NodeTransformer):

Callers

nothing calls this directly

Calls 2

__str__Method · 0.95
textMethod · 0.45

Tested by

no test coverage detected