[Python-ideas] Dict joining using + and +=
Hasan Diwan
hasan.diwan at gmail.com
Thu Feb 28 23:59:30 EST 2019
Do we really need a "+" and a "-" operation on dictionaries?
[dictinstance.update({k:v}) for k,v in dictinstance.items()] does handle
merges already. And I'm assuming that "-" should return the difference --
set(d1.keys()) - set(d2.keys()), right? -- H
--
OpenPGP:
https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1
If you wish to request my time, please do so using
*bit.ly/hd1AppointmentRequest
<http://bit.ly/hd1AppointmentRequest>*.
Si vous voudrais faire connnaisance, allez a *bit.ly/hd1AppointmentRequest
<http://bit.ly/hd1AppointmentRequest>*.
<https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1>Sent
from my mobile device
Envoye de mon portable
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20190228/edb83e6e/attachment.html>
More information about the Python-ideas
mailing list