MCPcopy Index your code
hub / github.com/python/cpython / rsplit

Method rsplit

Lib/test/test_bytes.py:2665–2667  ·  view source on GitHub ↗
(b, a)

Source from the content-addressed store, hash-verified

2663 assert not a.rpartition(b'\xdd')[0]
2664
2665 def rsplit(b, a):
2666 b.wait()
2667 assert len(a.rsplit(b'\xdd')) == 1
2668
2669 def rstrip(b, a):
2670 b.wait()

Callers 15

create_moduleMethod · 0.45
test_rsplit_bytearrayMethod · 0.45
do_profilingMethod · 0.45
test_xml_c14n2Method · 0.45
__init__Method · 0.45
touch_zoneMethod · 0.45
get_zoneinfo_metadataFunction · 0.45

Calls 1

waitMethod · 0.45

Tested by

no test coverage detected