[Python-ideas] PEP: Dict addition and subtraction

Jonathan Fine jfine2358 at gmail.com
Wed Mar 6 12:07:40 EST 2019

I wrote:

> I wonder, is this behaviour of {'a': 0, 'a': 1} documented (or tested)
> anywhere?

I've answered my own question here:
[Python-ideas] dict literal allows duplicate keys

Finally, Christopher Barker wrote:
> Yes, and had already been brought up in this thread ( I think by Guido). (Maybe not well documented, but certainly well understood and deliberate)

Thank you for this, Christopher.


More information about the Python-ideas mailing list