On 27 Mar 2009, at 19:29, Joel Bender wrote:
possible that the order matters. I think an iterable of
tuples (such as returned by dict.items(), but any iterable will do)
would be an okay interface.
Ordered dict then :-)
Why not use the same signature as dict.update()?
D.update(E, **F) -> None. Update D from E and F: for k in E:
D[k] = E[k] (if E has keys else: for (k, v) in E: D[k] = v) then: for k in F:
D[k] = F[k]