Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ SelfDisplaying
Class
SelfDisplaying
IPython/core/tests/test_formatters.py:396–398 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
394
f = get_ipython().display_formatter
395
catcher = []
396
class
SelfDisplaying(object):
397
def
_ipython_display_(self):
398
catcher.append(self)
399
400
class
NotSelfDisplaying(object):
401
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