#NEWLINE# def p_while_stmt2( p ) : #NEWLINE# #INDENT# ' while_stmt : WHILE test COLON suite ELSE COLON suite ' #NEWLINE# while_stmt = ast . While ( ) #NEWLINE# while_stmt . test = while_stmt [ 2 ] #NEWLINE# while_stmt . body = p [ 4 ] #NEWLINE# while_stmt . orelse = p [ 7 ] #NEWLINE# while_stmt . lineno = p . lineno ( 1 ) #NEWLINE# ast . fix_missing_locations ( while_stmt ) #NEWLINE# p [ 0 ] = while_stmt