def METHOD_NAME(self, position):
    # type: (int) -> None
    """
    Remove the action at position.
    """
    self._checkPosition(position)
    slot = self.__actions[position - 1]
    self.__actions[position - 1] = None
    if slot is not None:
        slot.button.hide()
        slot.button.deleteLater()
        self.removeAction(slot.action)
        self.__layoutActions()