def add(self, message):
        key = _singlefileMailbox.add(self, message)
        if isinstance(message, BabylMessage):
            self._labels[key] = message.get_labels()
        return key
Add message and return assigned key.
dataset/ETHPy150Open babble/babble/include/jython/Lib/mailbox.py/Babyl.add