def removeItem(self, item): # remove the item from the memory Memory.removeItem(self, item) # and remove the activation self._network.agenda.remove(self, item)