Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ removesuffix
Method
removesuffix
Lib/test/test_bytes.py:2647–2649 ·
view source on GitHub ↗
(b, a)
Source
from the content-addressed store, hash-verified
2645
assert not a.removeprefix(b
'0'
)
2646
2647
def
removesuffix(b, a):
2648
b.wait()
2649
assert not a.removesuffix(b
'0'
)
2650
2651
def
rfind(b, a):
2652
b.wait()
Callers
6
test_relativedir_bug46421
Method · 0.45
walk_modules
Method · 0.45
check_config
Method · 0.45
test_cli_converters
Method · 0.45
test_longname_directory
Method · 0.45
sections
Method · 0.45
Calls
1
wait
Method · 0.45
Tested by
no test coverage detected