(self, key, message)
Replace the keyed message; raise KeyError if it doesn't exist.
Replace the keyed message; raise KeyError if it doesn't exist.
Replace the keyed message ; raise KeyError if it doesn t exist .
def __setitem__(self, key, message):
        """Replace the keyed message; raise KeyError if it doesn't exist."""
        _singlefileMailbox.__setitem__(self, key, message)
        if isinstance(message, BabylMessage):
            self._labels[key] = message.get_labels()
def __setitem__ ( self , key , message ) : _singlefileMailbox . __setitem__ ( self , key , message ) if isinstance ( message , BabylMessage ) : self . _labels [ key ] = message . get_labels ( )