#NEWLINE# def next( self ) : #NEWLINE# #INDENT# if ( self . current_index >= self . element_amount ) : #NEWLINE# #INDENT# raise StopIteration #NEWLINE# #UNINDENT# value = self ( ) #NEWLINE# self . increase_index ( ) #NEWLINE# return self