Re:PEP 584 – Add + and – operators to the built-in dict class
by dan-robertson on Wednesday March 06, 2019 @04:02PM
(#19322753)
That is one thing you could do to merge dicts. To expand on my last paragraph above, I think I would imagine the following operations (stupid syntax):
This doesn’t work well if values can be None so maybe instead of pairs there should be objects Left(x), Right(y), and Both(x,y)
[ Parent
| on HN ]
There are no comments on this comment yet.