def get_labels(self):
        self._lookup()
        labels = set()
        for label_list in self._labels.values():
            labels.update(label_list)
        labels.difference_update(self._special_labels)
        return list(labels)
Return a list of user-defined labels in the mailbox.
dataset/ETHPy150Open babble/babble/include/jython/Lib/mailbox.py/Babyl.get_labels