Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ evilcomplex
Class
evilcomplex
Lib/test/test_complex.py:580–582 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
578
pass
579
580
class
evilcomplex:
581
def
__complex__(self):
582
raise
EvilExc
583
584
self.assertRaises(EvilExc, complex, evilcomplex())
585
Callers
1
test_constructor
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_constructor
Method · 0.68