#NEWLINE# def visit_While( self , node ) : #NEWLINE# #INDENT# body = [ ( 'while %s' % self . visit ( line . test ) ) ] #NEWLINE# self . push ( ) #NEWLINE# for line in list ( map ( self . visit , node . body ) ) : #NEWLINE# #INDENT# body . append ( ( self . indent ( ) + line ) ) #NEWLINE# #UNINDENT# self . pull ( ) #NEWLINE# return '\n' . join ( body )