#NEWLINE# def __next__( self ) : #NEWLINE# #INDENT# if self . closed : #NEWLINE# #INDENT# raise StopIteration ( ) #NEWLINE# #UNINDENT# line = self . readline ( ) #NEWLINE# if ( not line ) : #NEWLINE# #INDENT# raise StopIteration ( ) #NEWLINE# #UNINDENT# return line