{ } Raw JSON

bundles / nbformat 5.11.1 / nbformat / v3 / rwbase / split_lines

function

nbformat.v3.rwbase:split_lines

source: /nbformat/v3/rwbase.py:75

Signature

def split_lines(nb)

Summary

split likely multiline text into lists of strings

Extended Summary

For file output more friendly to line-based VCS. rejoin_lines(nb) will reverse the effects of split_lines(nb).

Used when writing JSON files.

Aliases

  • nbformat.v3.nbjson.split_lines