def METHOD_NAME(self, recv):
    try:
        if recv.notify != self._put:
            raise ValueError
        self._receivers.METHOD_NAME(recv)
        recv.notify = None
    except (IndexError, ValueError):
        raise Error(self.not_present_msg)