#NEWLINE# def deq( self ) : #NEWLINE# #INDENT# for stack in self . queue : #NEWLINE# #INDENT# for ( idx , group ) in enumerate ( reversed ( stack ) ) : #NEWLINE# #INDENT# if group . breakables : #NEWLINE# #INDENT# del stack [ idx ] #NEWLINE# group . want_break = True #NEWLINE# return group #NEWLINE# #UNINDENT# #UNINDENT# for group in stack : #NEWLINE# #INDENT# group . want_break = True #NEWLINE# #UNINDENT# del stack [ : ]