def _pre_mailbox_hook(self, f):
        f.write('BABYL OPTIONS:%sVersion: 5%sLabels:%s%s\037' %
                (os.linesep, os.linesep, ','.join(self.get_labels()),
                 os.linesep))
Called before writing the mailbox to file f.
dataset/ETHPy150Open babble/babble/include/jython/Lib/mailbox.py/Babyl._pre_mailbox_hook