On Oct 13, 7:21 am, Pat <P... at junk.com> wrote: > Is there a better/easier way to code this in Python than the > obtuse/arcane setdefault code? foo = {'bar': 'baz'} foo.update({'quux': 'blah'})