On 21/07/17 18:07, Jason H wrote:
There are basically two assignment operators, based on context, = and :
a = 1
{ a: 1 }

No there aren't. The colon isn't assigning at all, it's separating a key from a corresponding value. The object referenced by 'a' is unchanged by being part of a dictionary literal. From that point on your whole argument falls apart.

--
Rhodri James *-* Kynesim Ltd
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to