        def merge_two_dicts(x, y):
            '''Given two dicts, merge them into a new dict as a shallow copy.'''
            z = x.copy()
            z.update(y)
            return z
Given two dicts, merge them into a new dict as a shallow copy.
pebin.py