We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

dict.update

a.update([b]) updates (and overwrites) key/value pairs from b.

dict.update accepts either another dictionary or an iterable of key/value pairs (as a tuple or other iterable of length two). If keyword arguments are specified, the dictionary is then is updated with those key/value pairs: “d.update(red=1, blue=2)”.

Changed in version 2.4: Allowed the argument to be an iterable of key/value pairs and allowed keyword arguments.