Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ index
Method
index
Lib/test/test_bytes.py:2629–2633 ·
view source on GitHub ↗
(b, a)
Source
from the content-addressed store, hash-verified
2627
assert not a.endswith(b
'\xdd'
)
2628
2629
def
index(b, a):
2630
b.wait()
2631
try
: a.index(b
'\xdd'
)
2632
except
ValueError:
return
2633
assert False
2634
2635
def
lstrip(b, a):
2636
b.wait()
Callers
2
test_index
Method · 0.45
test_none_arguments
Method · 0.45
Calls
1
wait
Method · 0.45
Tested by
no test coverage detected