b._chunks_to_lines_py : module documentation

Part of bzrlib

The python implementation of chunks_to_lines
Function chunks_to_lines Re-split chunks into simple lines.
def chunks_to_lines(chunks):
Re-split chunks into simple lines.

Each entry in the result should contain a single newline at the end. Except for the last entry which may not have a final newline. If chunks is already a simple list of lines, we return it directly.

ParameterschunksAn list/tuple of strings. If chunks is already a list of lines, then we will return it as-is.
ReturnsA list of strings.
API Documentation for Bazaar, generated by pydoctor at 2019-07-18 00:29:27.