#NEWLINE# def next( self ) : #NEWLINE# #INDENT# if ( ni . _nextitem is not None ) : #NEWLINE# #INDENT# ni = self . _nextitem #NEWLINE# self . _nextitem = None #NEWLINE# return ni #NEWLINE# #UNINDENT# return self . iter . next ( )