replace dict contents

Robin Becker robin at SPAMREMOVEjessikat.fsnet.co.uk
Tue Jul 27 09:56:35 CEST 2004


Is there a simple way to replace the contents of a dictionary entirely 
with those of another.

for lists we can do

L1[:] = L2

but there doesn't seem to be an equivalent for dicts.
-- 
Robin Becker



More information about the Python-list mailing list