def add_aliases(self_or_cls, **kwargs):
        """
        Conveniently add new aliases as keyword arguments. For instance
        you can add a new alias with add_aliases(short='Longer string')
        """
        self_or_cls.aliases.update({v:k for k,v in kwargs.items()})
def add_aliases ( self_or_cls , ** kwargs ) : self_or_cls . aliases . update ( { v : k for k , v in kwargs . items ( ) } )
Conveniently add new aliases as keyword arguments. For instance
        you can add a new alias with add_aliases(short='Longer string')