#NEWLINE# def _dequeue( self ) : #NEWLINE# #INDENT# 'Pop the top function from the internal queue and call it.' #NEWLINE# ( position , show ) = self . show_hide_queue . popitem ( last = False ) #NEWLINE# shown = ( position in self . _shown ) #NEWLINE# if ( show and ( not shown ) ) : #NEWLINE# #INDENT# self . _show_block ( position , self . objects [ position ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( shown and ( not show ) ) : #NEWLINE# #INDENT# self . _hide_block ( position )