Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __getitem__
Method
__getitem__
Lib/test/test_re.py:33–34 ·
view source on GitHub ↗
(self, index)
Source
from the content-addressed store, hash-verified
31
32
class
B(bytes):
33
def
__getitem__(self, index):
34
return
B(super().__getitem__(index))
35
36
class
ReTests(unittest.TestCase):
37
Callers
nothing calls this directly
Calls
3
super
Class · 0.85
B
Class · 0.70
__getitem__
Method · 0.45
Tested by
no test coverage detected