Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ SubScript
Class
SubScript
extra_tests/snippets/builtin_slice.py:145–150 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
143
144
145
class
SubScript(object):
146
def
__getitem__(self, item):
147
assert type(item) == slice
148
149
def
__setitem__(self, key, value):
150
assert type(key) == slice
151
152
153
ss = SubScript()
Callers
1
builtin_slice.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected