MCPcopy 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
32class B(bytes):
33 def __getitem__(self, index):
34 return B(super().__getitem__(index))
35
36class ReTests(unittest.TestCase):
37

Callers

nothing calls this directly

Calls 3

superClass · 0.85
BClass · 0.70
__getitem__Method · 0.45

Tested by

no test coverage detected