MCPcopy 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

checkMethod · 0.45
test_partitionMethod · 0.45
run_pythonMethod · 0.45
_make_mapMethod · 0.45
run_pyMethod · 0.45
test_versionMethod · 0.45
test_mode_win32Method · 0.45

Calls 1

waitMethod · 0.45

Tested by

no test coverage detected