MCPcopy Index your code
hub / github.com/RustPython/RustPython / splitlines

Method splitlines

crates/vm/src/bytes_inner.rs:743–748  ·  view source on GitHub ↗
(&self, options: anystr::SplitLinesArgs, into_wrapper: FW)

Source from the content-addressed store, hash-verified

741 }
742
743 pub fn splitlines<FW, W>(&self, options: anystr::SplitLinesArgs, into_wrapper: FW) -> Vec<W>
744 where
745 FW: Fn(&[u8]) -> W,
746 {
747 self.elements.py_bytes_splitlines(options, into_wrapper)
748 }
749
750 pub fn zfill(&self, width: isize) -> Vec<u8> {
751 self.elements.py_zfill(width)

Callers 15

builtin_str.pyFile · 0.45
builtin_bytes.pyFile · 0.45
extract_enum_bodyFunction · 0.45
build_deoptsFunction · 0.45
parse_updated_lib_issueFunction · 0.45
whats_left.pyFile · 0.45
find_eq.pyFile · 0.45
parse_resultsFunction · 0.45
remove_expected_failuresFunction · 0.45
filter_rustpython_todoFunction · 0.45

Calls 1

py_bytes_splitlinesMethod · 0.80

Tested by

no test coverage detected