Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ removeprefix
Method
removeprefix
Lib/test/test_bytes.py:2643–2645 ·
view source on GitHub ↗
(b, a)
Source
from the content-addressed store, hash-verified
2641
assert not a.partition(b
'\xdd'
)[2]
2642
2643
def
removeprefix(b, a):
2644
b.wait()
2645
assert not a.removeprefix(b
'0'
)
2646
2647
def
removesuffix(b, a):
2648
b.wait()
Callers
11
__missing__
Method · 0.45
check_roundtrip
Method · 0.45
check_script_error
Method · 0.45
check_script_error
Method · 0.45
check
Method · 0.45
test_mode_win32
Method · 0.45
EnumKey
Method · 0.45
test_cli_converters
Method · 0.45
collect_windows
Function · 0.45
list_test_dirs
Method · 0.45
test_fail_help_cli
Method · 0.45
Calls
1
wait
Method · 0.45
Tested by
no test coverage detected