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

Method rstrip

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

Source from the content-addressed store, hash-verified

2667 assert len(a.rsplit(b'\xdd')) == 1
2668
2669 def rstrip(b, a):
2670 b.wait()
2671 assert not a.rstrip(b'0')
2672
2673 def split(b, a):
2674 b.wait()

Callers 15

test_macrosMethod · 0.45
test_sys_xoptionsMethod · 0.45
test_env_varMethod · 0.45
test_stdout_noneMethod · 0.45
test_undecodable_envMethod · 0.45
logcat_threadMethod · 0.45
test_is_finalizingMethod · 0.45

Calls 1

waitMethod · 0.45

Tested by

no test coverage detected