def update ( self , dictionary = None , * * kwargs ) : if not dictionary == None : kwargs . update ( dictionary ) for k in list ( kwargs . keys ( ) ) : self [ k ] = kwargs [ k ]
python mix**kwargs with default value kwargs
Adds / overwrites all the keys and values from the dictionary .
def update(self, dictionary=None, **kwargs):
        """
        Adds/overwrites all the keys and values from the dictionary.
        """
        if not dictionary == None: kwargs.update(dictionary)
        for k in list(kwargs.keys()): self[k] = kwargs[k]