Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
123
class
TimeitTemplateFiller(ast.NodeTransformer):
Callers
nothing calls this directly
Calls
2
__str__
Method · 0.95
text
Method · 0.45
Tested by
no test coverage detected