def merge(dict_1, dict_2, func=lambda x, y: x + y):
    """doc"""
    res = dict_1.copy()  # "= dict(d1)" for lists of tuples
    for key, val in dict_2.iteritems():  # ".. in d2" for lists of tuple
        try:
            res[key] = func(res[key], val)
        except __HOLE__:
            res[key] = val
    return res
dataset/ETHPy150Open columbia/libtrack/libtrack/parser/src/telesphorus/helpers/dict_utils.py/merge