On Tue, Dec 23, 2008 at 11:46 PM, Gabriel Genellina <[email protected]> wrote: <snip> > > Yes; but isn't a dict comprehension more adequate? > > [key: (dict1[key], dict2[key]) for key in common_keys if > dict1[key]!=dict2[key]}
<nitpick severity="minor">
That initial [ should be a { of course.
Cheers,
Chris
--
Follow the path of the Iguana...
http://rebertia.com
--
http://mail.python.org/mailman/listinfo/python-list
