Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ _repr_pretty_
Method
_repr_pretty_
IPython/core/magics/basic.py:40–41 ·
view source on GitHub ↗
(self, p, cycle)
Source
from the content-addressed store, hash-verified
38
return
'\n'
.join(out)
39
40
def
_repr_pretty_(self, p, cycle):
41
p.text(self._lsmagic())
42
43
def
__str__(self):
44
return
self._lsmagic()
Callers
nothing calls this directly
Calls
2
_lsmagic
Method · 0.95
text
Method · 0.45
Tested by
no test coverage detected