MCPcopy Create free account
hub / github.com/astral-sh/ruff / string_parser_escaped_eol

Function string_parser_escaped_eol

crates/ruff_python_parser/src/string.rs:567–570  ·  view source on GitHub ↗
(eol: &str)

Source from the content-addressed store, hash-verified

565 }
566
567 fn string_parser_escaped_eol(eol: &str) -> Suite {
568 let source = format!(r"'text \{eol}more text'");
569 parse_suite(&source).unwrap()
570 }
571
572 #[test]
573 fn test_string_parser_escaped_unix_eol() {

Calls 1

parse_suiteFunction · 0.70