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

Method splitlines

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

Source from the content-addressed store, hash-verified

2675 assert len(a.split(b'\xdd')) == 1
2676
2677 def splitlines(b, a):
2678 b.wait()
2679 l = len(a.splitlines())
2680 assert l > 1 or l == 0
2681
2682 def startswith(b, a):
2683 b.wait()

Callers 15

assert_exc_stringMethod · 0.45
list_casesFunction · 0.45
check_usageMethod · 0.45
openhookMethod · 0.45
get_outputMethod · 0.45
test_encoding_warningMethod · 0.45
test_restore_signalsMethod · 0.45
test_invocationMethod · 0.45
test_issue20602Method · 0.45
checkMethod · 0.45

Calls 1

waitMethod · 0.45

Tested by

no test coverage detected