#NEWLINE# def __next__( self ) : #NEWLINE# #INDENT# if ( row . column_names and ( not self . returned_header ) ) : #NEWLINE# #INDENT# self . returned_header = True #NEWLINE# return self . column_names #NEWLINE# #UNINDENT# while True : #NEWLINE# #INDENT# row = next ( self . reader ) #NEWLINE# if self . test_row ( row ) : #NEWLINE# #INDENT# return row #NEWLINE# #UNINDENT# #UNINDENT# raise StopIteration ( )