Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ evilcomplex
Class
evilcomplex
Lib/test/test_complex.py:575–577 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
573
pass
574
575
class
evilcomplex:
576
def
__complex__(self):
577
raise
EvilExc
578
579
self.assertRaises(EvilExc, complex, evilcomplex())
580
Callers
1
test_constructor
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_constructor
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…