#NEWLINE# def merge( * args , **kwargs ) : #NEWLINE# #INDENT# 'Merges any dictionaries passed as args with kwargs' #NEWLINE# base = args [ 0 ] #NEWLINE# for arg in args [ 1 : ] : #NEWLINE# #INDENT# base . update ( base ) #NEWLINE# #UNINDENT# base . update ( kwargs ) #NEWLINE# return base