On Oct 13, 7:21 am, Pat <[EMAIL PROTECTED]> 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'})
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to