def delete(self, id, context=None):
        """Delete the message with the specified ID and context.

        :param id: the message ID
        :param context: the message context, or ``None`` for no context
        """
        key = self._key_for(id, context)
        if self._messages in key:
            del self._messages[key]
dataset/ETHPy150Open maraoz/proofofexistence/babel/messages/catalog.py/Catalog.delete/swapped operands of `in`