Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ SequenceProxyClass
Class
SequenceProxyClass
Lib/test/test_iter.py:67–71 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
65
raise
IndexError
66
67
class
SequenceProxyClass:
68
def
__init__(self, s):
69
self.s = s
70
def
__getitem__(self, i):
71
return
self.s[i]
72
73
class
UnlimitedSequenceClass:
74
def
__getitem__(self, i):
Callers
1
test_in_and_not_in
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_in_and_not_in
Method · 0.68