https://segmentfault.com/a/1190000010567015
Reprint:
python2
z = x.copy() z.update(y)
python3.5
z = {**x, **y}