Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ __init__
Method
__init__
IPython/lib/tests/test_pretty.py:23–24 ·
view source on GitHub ↗
(self, content)
Source
from the content-addressed store, hash-verified
21
22
class
MyList(object):
23
def
__init__(self, content):
24
self.content = content
25
def
_repr_pretty_(self, p, cycle):
26
if
cycle:
27
p.text(
"MyList(...)"
)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected