def remove_message(self, message):
        '''
        Remove a message from the batch
        '''
        if message in self.__messages:
            self.__messages.remove(message)
dataset/ETHPy150Open themartorana/python-postmark/postmark/core.py/PMBatchMail.remove_message/original