#NEWLINE# def write( self , x ) : #NEWLINE# #INDENT# 'Write a string into the output stream.' #NEWLINE# if self . _new_lines : #NEWLINE# #INDENT# if ( not self . _first_write ) : #NEWLINE# #INDENT# self . stream . write ( ( '\n' * self . _new_lines ) ) #NEWLINE# self . code_lineno += self . _new_lines #NEWLINE# if ( self . _write_debug_info is not None ) : #NEWLINE# #INDENT# self . debug_info . append ( ( self . _write_debug_info , self . code_lineno ) ) #NEWLINE# self . _write_debug_info = None #NEWLINE# #UNINDENT# #UNINDENT# self . _first_write = False #NEWLINE# self . stream . write ( ( '    ' * self . _indentation ) ) #NEWLINE# self . _new_lines = 0 #NEWLINE# #UNINDENT# self . stream . write ( self )