(self, key, default=None)
Return the keyed message, or default if it doesn't exist.
Return the keyed message, or default if it doesn't exist.
Return the keyed message or default if it doesn t exist .
def get(self, key, default=None):
        """Return the keyed message, or default if it doesn't exist."""
        try:
            return self.__getitem__(key)
        except KeyError:
            return default
def get ( self , key , default = None ) : try : return self . __getitem__ ( key ) except KeyError : return default