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

File builtin_slice.py

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

Source from the content-addressed store, hash-verified

1from testutils import assert_raises
2
3a = slice(10)
4assert a.start == None

Callers

nothing calls this directly

Calls 10

assert_raisesFunction · 0.90
sliceClass · 0.85
listClass · 0.85
SubScriptClass · 0.85
CustomIndexClass · 0.85
test_all_slicesFunction · 0.85
indicesMethod · 0.80
__repr__Method · 0.45
__eq__Method · 0.45
__ne__Method · 0.45

Tested by

no test coverage detected