MCPcopy Index your code
hub / github.com/python/cpython / 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
67class SequenceProxyClass:
68 def __init__(self, s):
69 self.s = s
70 def __getitem__(self, i):
71 return self.s[i]
72
73class UnlimitedSequenceClass:
74 def __getitem__(self, i):

Callers 1

test_in_and_not_inMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_in_and_not_inMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…