Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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__.py
File · 0.45
test_null_terminator
Method · 0.45
test_mapping_file
Method · 0.45
test_basics
Method · 0.45
test_self_trace
Method · 0.45
assert_cache_path_exists
Method · 0.45
test_walkpackages_filesys
Method · 0.45
test_walkpackages_zipfile
Method · 0.45
assertNamespaceMatches
Method · 0.45
ismethod
Method · 0.45
checkModule
Method · 0.45
test_DER_to_PEM
Method · 0.45
Calls
1
wait
Method · 0.45
Tested by
no test coverage detected