{ } Raw JSON

bundles / nbformat 5.11.1 / nbformat / v4 / rwbase / rejoin_lines

function

nbformat.v4.rwbase:rejoin_lines

source: /nbformat/v4/rwbase.py:27

Signature

def rejoin_lines(nb)

Summary

rejoin multiline text into strings

Extended Summary

For reversing effects of split_lines(nb).

This only rejoins lines that have been split, so if text objects were not split they will pass through unchanged.

Used when reading JSON files that may have been passed through split_lines.

Aliases

  • nbformat.v4.nbjson.rejoin_lines