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

Method removesuffix

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

Source from the content-addressed store, hash-verified

2645 assert not a.removeprefix(b'0')
2646
2647 def removesuffix(b, a):
2648 b.wait()
2649 assert not a.removesuffix(b'0')
2650
2651 def rfind(b, a):
2652 b.wait()

Callers 6

walk_modulesMethod · 0.45
check_configMethod · 0.45
test_cli_convertersMethod · 0.45
sectionsMethod · 0.45

Calls 1

waitMethod · 0.45

Tested by

no test coverage detected