MCPcopy Index your code
hub / github.com/RustPython/RustPython / stdlib_abc_number.py

File stdlib_abc_number.py

extra_tests/snippets/stdlib_abc_number.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1from testutils import assert_raises
2
3x = 5
4x.__init__(6)

Callers

nothing calls this directly

Calls 15

assert_raisesFunction · 0.90
roundFunction · 0.85
AClass · 0.70
evalFunction · 0.50
__init__Method · 0.45
__index__Method · 0.45
__trunc__Method · 0.45
__ceil__Method · 0.45
__floor__Method · 0.45
__round__Method · 0.45
__bool__Method · 0.45
__invert__Method · 0.45

Tested by

no test coverage detected