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