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