def _merge_dicts(*args):
 ret = dict()
 for arg in args:
  ret.update(arg)
 return ret

def _merge_dicts ( * args ) : ret = dict ( ) for arg in args : ret . update ( arg ) return ret
shallow copy and merge dicts together .