One existing way to do this:
a, b, c = (mydict[k] for k in ('a', 'b', 'c'))-- Greg _______________________________________________ Python-ideas mailing list [email protected] https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
