MCPcopy Create free account
hub / github.com/ipython/ipython / assemble

Function assemble

IPython/core/tests/test_inputsplitter.py:53–55  ·  view source on GitHub ↗

Assemble a block into multi-line sub-blocks.

(block)

Source from the content-addressed store, hash-verified

51#-----------------------------------------------------------------------------
52
53def assemble(block):
54 """Assemble a block into multi-line sub-blocks."""
55 return ['\n'.join(sub_block)+'\n' for sub_block in block]
56
57
58def pseudo_input(lines):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected