def override(original, new):
    for key,value in new.items():
        if key in original:
            original.update({key:value})
Like update(), but only change entries that already exist. Prevents dict pollution.
dataset/ETHPy150Open laforest/Octavo/Generator/Misc/parameters_misc.py/override