[Python-ideas] Have dict().update() return its own reference.

Xavier Ho contact at xavierho.com
Fri Apr 20 14:48:38 CEST 2012


On 20 April 2012 22:47, Masklinn <masklinn at masklinn.net> wrote:
>
> If you start from dict instances, you could always use:
>
>    merged = dict(x, **y)
>

I heard that Guido wasn't a fan of this.

Cheers,
Xav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20120420/5f1776e7/attachment.html>


More information about the Python-ideas mailing list