@pipe.func<EOL>def stdout(prev, endl='<STR_LIT:\n>', thru=False):
for i in prev:<EOL><INDENT>sys.stdout.write(str(i) + endl)<EOL>if thru:<EOL><INDENT>yield i<EOL><DEDENT><DEDENT>
This pipe read data from previous iterator and write it to stdout.

    :param prev: The previous iterator of pipe.
    :type prev: Pipe
    :param endl: The end-of-line symbol for each output.
    :type endl: str
    :param thru: If true, data will passed to next generator. If false, data
                 will be dropped.
    :type thru: bool
    :returns: generator