#NEWLINE# def next( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# got = self . pop ( ) #NEWLINE# if ( self [ 0 ] and got [ 1 ] ) : #NEWLINE# #INDENT# return got #NEWLINE# #UNINDENT# raise StopIteration #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# raise StopIteration