#NEWLINE# def leave_all( self ) : #NEWLINE# #INDENT# if self . _stack : #NEWLINE# #INDENT# last_pos = ( self . _new or self . _old ) [ ( - 1 ) ] [ 2 ] #NEWLINE# for tag in reversed ( self . _stack ) : #NEWLINE# #INDENT# self . append ( END , tag , last_pos ) #NEWLINE# #UNINDENT# #UNINDENT# del self . _stack [ : ]