parameters: (self)
docstring: The user wants to remove this block.
          We ask to make sure they want to do this.
docstring_summary: The user wants to remove this block.
          We ask to make sure they want to do this.
docstring_tokens: The user wants to remove this block . We ask to make sure they want to do this .
function: def _removeBlock(self):
          """
          The user wants to remove this block.
          We ask to make sure they want to do this.
          """
          button = QMessageBox.question(self, "Confirm remove", "Are you sure you want to delete %s" % self.block.path, QMessageBox.Yes, QMessageBox.No)
          if button == QMessageBox.Yes:
              self.removeBlock.emit(self.block)
              self.hide()
              self.editingFinished.emit()
function_tokens: def _removeBlock ( self ) : button = QMessageBox . question ( self , "Confirm remove" , "Are you sure you want to delete %s" % self . block . path , QMessageBox . Yes , QMessageBox . No ) if button == QMessageBox . Yes : self . removeBlock . emit ( self . block ) self . hide ( ) self . editingFinished . emit ( )