Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ Sequence
Class
Sequence
Lib/test/string_tests.py:12–15 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
10
11
12
class
Sequence:
13
def
__init__(self, seq=
'wxyz'
): self.seq = seq
14
def
__len__(self):
return
len(self.seq)
15
def
__getitem__(self, i):
return
self.seq[i]
16
17
18
class
BaseTest:
Callers
1
test_join
Method · 0.70
Calls
no outgoing calls
Tested by
1
test_join
Method · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…