jdd:
> foo = {'bar': 'baz'}
> foo.update({'quux': 'blah'})

That creates a new dict, to throw it away. Don't do that. Use the
standard and more readable syntax:

> foo = {...}
> foo['quux'] = 'blah'

Bye,
bearophile
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to