[Python-ideas] Allow using ** twice

Philipp A. flying-sheep at web.de
Thu Jun 6 20:19:23 CEST 2013


2013/6/6 MRAB <python at mrabarnett.plus.com>

> With regard to '+=' vs '|=', '+=' on lists adds to what's already
> there, leaving existing items intact, but on dicts it wouldn't, which
> is why I think that '|=' might be clearer (I tend to think of it more
> like set union), but that's just my own view.
>

+= on deques with maxlength < ∞ *does* modify them.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130606/efac6fd1/attachment.html>


More information about the Python-ideas mailing list