MCPcopy Index your code
hub / github.com/python/cpython / endswith

Method endswith

Lib/test/test_bytes.py:2625–2627  ·  view source on GitHub ↗
(b, a)

Source from the content-addressed store, hash-verified

2623 if c: assert c[0] == 48 # '0'
2624
2625 def endswith(b, a):
2626 b.wait()
2627 assert not a.endswith(b'\xdd')
2628
2629 def index(b, a):
2630 b.wait()

Callers 15

__main__.pyFile · 0.45
test_null_terminatorMethod · 0.45
test_mapping_fileMethod · 0.45
test_basicsMethod · 0.45
test_self_traceMethod · 0.45
ismethodMethod · 0.45
checkModuleMethod · 0.45
test_DER_to_PEMMethod · 0.45

Calls 1

waitMethod · 0.45

Tested by

no test coverage detected