Re: [Python-Dev] PEP 572: Assignment Expressions

2018年4月18日 23:45:34 -0700

MRAB wrote:
Some languages use '=' for assignment, others for equality, but do you know of a language that uses ':=' for equality' or '==' for assignment?
No, but the only sane reason to use "==" for equality testing
seems to be if you're already using "=" for something else.
So maybe we should just implement "from __future__ import pascal"
and be done with. :-)
--
Greg
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to