#NEWLINE# def hide_sector( self , sector ) : #NEWLINE# #INDENT# 'Ensure all blocks in the given sector that should be hidden are\n        removed from the canvas.\n        ' #NEWLINE# for position in self . sectors . get ( sector , [ ] ) : #NEWLINE# #INDENT# if ( position in self . shown ) : #NEWLINE# #INDENT# self . hide_block ( position , False )