Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
1
from
testutils
import
assert_raises
2
3
a = slice(10)
4
assert a.start == None
Callers
nothing calls this directly
Calls
10
assert_raises
Function · 0.90
slice
Class · 0.85
list
Class · 0.85
SubScript
Class · 0.85
CustomIndex
Class · 0.85
test_all_slices
Function · 0.85
indices
Method · 0.80
__repr__
Method · 0.45
__eq__
Method · 0.45
__ne__
Method · 0.45
Tested by
no test coverage detected