#NEWLINE# def __init__( self , output = sys . stdout , error = sys . stderr ) : #NEWLINE# #INDENT# '\n        :param output: Where to write the output; defaults to sys.stdout.\n        :param error: Where to write any errors; defaults to sys.stderr.\n        ' #NEWLINE# self . _out = output #NEWLINE# self . _err = output #NEWLINE# self . header_written = False