Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
137
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