On 27/09/20 7:10 pm, Steven D'Aprano wrote:
kw = get_keywords() # oops, this returns an empty dict
obj[**kw] = value
If an explicit d[] is going to be a compile-time error, maybe
anything that has the same effect at run time should be an
error too?
--
Greg
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/EMX7GLTFZFI6QNTCM32KHYKLIXA7TR3P/
Code of Conduct: http://python.org/psf/codeofconduct/