code: def delete_tabs(self, tab, no_tabs=1):
          
  
          # Mark content as changed
          post_command_event(self.main_window, self.ContentChangedMsg)
  
          try:
              self.code_array.delete(tab, no_tabs, axis=2)
  
              # Update TableChoiceIntCtrl
              shape = self.grid.code_array.shape
              post_command_event(self.main_window, self.ResizeGridMsg,
                                 shape=shape)
  
          except ValueError, err:
              post_command_event(self.main_window, self.StatusBarMsg,
                                 text=err.message)
docs: Deletes no_tabs tabs and marks grid as changed