[Python-Dev] (no subject)
Victor Stinner
victor.stinner at gmail.com
Tue Feb 10 08:08:48 CET 2015
Le 10 févr. 2015 03:07, "Ethan Furman" <ethan at stoneleaf.us> a écrit :
> That line should read
>
> return func(*(args + fargs), **{**keywords, **fkeywords})
>
> to avoid the duplicate key error and keep the original functionality.
To me, this is just ugly. It prefers the original code which use .update().
Maybe the PEP should be changed to behave as .update()?
Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150210/e5133832/attachment.html>
More information about the Python-Dev
mailing list