Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ contains
Method
contains
Lib/test/test_bytes.py:2694–2696 ·
view source on GitHub ↗
(b, a)
Source
from the content-addressed store, hash-verified
2692
a * 2
2693
2694
def
contains(b, a):
2695
b.wait()
2696
assert 0xdd not in a
2697
2698
def
iconcat(b, a):
# MODIFIES!
2699
c = bytearray(b
'0'
* 0x400000)
Callers
2
test_operator
Method · 0.45
test_contains
Method · 0.45
Calls
1
wait
Method · 0.45
Tested by
no test coverage detected