1 2 3 4 5 6 7
def append_item(item, lst=[]): lst.append(item) return lst def merge(data, cache={}): cache.update(data) return cache