21.02.2014 23:57, Steven D'Aprano wrote: # 1: a wins c = b.copy() c.update(a) Sometimes I do: c = dict(b, **a) Cheers. *j _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
# 1: a wins c = b.copy() c.update(a)