def iter_pipe(pipe, processors):
if isinstance(pipe, str):<EOL><INDENT>pipe = [pipe]<EOL><DEDENT>for it in processors:<EOL><INDENT>pipe = it(pipe)<EOL><DEDENT>yield from pipe<EOL>
Allow for iterators to return either an item or an iterator of items.