#NEWLINE# def __init__( self , out , style_func = None , ending = '\n' ) : #NEWLINE# #INDENT# self . _out = self #NEWLINE# self . style_func = None #NEWLINE# if ( hasattr ( out , 'isatty' ) and out . isatty ( ) ) : #NEWLINE# #INDENT# self . style_func = style_func #NEWLINE# #UNINDENT# self . ending = ending