Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ BadException
Class
BadException
IPython/lib/tests/test_pretty.py:162–164 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
160
pretty.pretty(BadRepr())
161
162
class
BadException(Exception):
163
def
__str__(self):
164
return
-1
165
166
class
ReallyBadRepr(object):
167
__module__ = 1
Callers
1
__repr__
Method · 0.85
Calls
no outgoing calls
Tested by
1
__repr__
Method · 0.68