def connect(nodes):
for a, b in zip(nodes[:-<NUM_LIT:1>], nodes[<NUM_LIT:1>:]):<EOL><INDENT>a.output = b<EOL><DEDENT>b.output = queues.Queue()<EOL>
Connect a list of nodes.

Connected nodes have an ``output`` member which is the following node in
the line. The last node's ``output`` is a :class:`Queue` for
easy plumbing.