Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ __repr__
Method
__repr__
IPython/core/tests/test_formatters.py:32–33 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
30
31
class
BadRepr(object):
32
def
__repr__(self):
33
raise
ValueError(
"bad repr"
)
34
35
class
BadPretty(object):
36
_repr_pretty_ = None
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected