Returns a single list of string lines from the byte streams in args.
(*streams: bytes)
| 422 | |
| 423 | |
| 424 | def split_lines(*streams: bytes) -> list[str]: |
| 425 | """Returns a single list of string lines from the byte streams in args.""" |
| 426 | return [s for stream in streams for s in stream.decode("utf8").splitlines()] |
| 427 | |
| 428 | |
| 429 | def write_and_fudge_mtime(content: str, target_path: str) -> None: |
searching dependent graphs…