From: "David A. Black" Date: 2005-07-23T19:34:39+09:00 Subject: Re: FAQ? Hash concatenation Hi -- On Sat, 23 Jul 2005, William James wrote: > > > William James wrote: >> David A. Black wrote: >> >>> h1 = h2.update(h1) >>> >>> you're going to change h2, which might also be undesireable in some >>> cases. >> >> h=h2.dup.update(h) > > I guess this should be > h=h2.merge(h) And if you want to keep h the same object: h.replace(h2.merge(h)) David -- David A. Black dblack@wobblini.net