def add_flag(self, flag):
        self.set_flags(''.join(set(self.get_flags()) | set(flag)))
Set the given flag(s) without changing others.
dataset/ETHPy150Open babble/babble/include/jython/Lib/mailbox.py/_mboxMMDFMessage.add_flag