Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ partition
Method
partition
Lib/test/test_bytes.py:2639–2641 ·
view source on GitHub ↗
(b, a)
Source
from the content-addressed store, hash-verified
2637
assert not a.lstrip(b
'0'
)
2638
2639
def
partition(b, a):
2640
b.wait()
2641
assert not a.partition(b
'\xdd'
)[2]
2642
2643
def
removeprefix(b, a):
2644
b.wait()
Callers
15
test_wmi_query_os_version
Method · 0.45
test_cache_per_thread_isolation
Method · 0.45
check
Method · 0.45
test_partition
Method · 0.45
test_partition_bytearray_doesnt_share_nullstring
Method · 0.45
run_python
Method · 0.45
test_lltrace_different_module
Method · 0.45
_make_map
Method · 0.45
run_py
Method · 0.45
test_version
Method · 0.45
test_source_line_in_disassembly
Method · 0.45
test_mode_win32
Method · 0.45
Calls
1
wait
Method · 0.45
Tested by
no test coverage detected