Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ builtin_complex.py
File
builtin_complex.py
extra_tests/snippets/builtin_complex.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
testutils
2
from
testutils
import
assert_raises
3
4
# __abs__
Callers
nothing calls this directly
Calls
13
assert_raises
Function · 0.90
hash
Function · 0.85
str
Function · 0.85
repr
Function · 0.85
complex_subclass
Class · 0.85
Complex
Class · 0.70
exec
Function · 0.70
abs
Function · 0.50
divmod
Function · 0.50
__eq__
Method · 0.45
conjugate
Method · 0.45
__getnewargs__
Method · 0.45
Tested by
no test coverage detected