MCPcopy 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_operatorMethod · 0.45
test_containsMethod · 0.45

Calls 1

waitMethod · 0.45

Tested by

no test coverage detected