Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ipython/ipython
/ SelfDisplaying
Class
SelfDisplaying
tests/test_formatters.py:467–469 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
465
catcher = []
466
467
class
SelfDisplaying(object):
468
def
_ipython_display_(self):
469
catcher.append(self)
470
471
class
NotSelfDisplaying(object):
472
def
__repr__(self):
Callers
1
test_ipython_display_formatter
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_ipython_display_formatter
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…