replace dict contents

Robin Becker robin at SPAMREMOVEjessikat.fsnet.co.uk
Tue Jul 27 03:56:35 EDT 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