[Python-Dev] PEP 572: Assignment Expressions
Greg Ewing
greg.ewing at canterbury.ac.nz
Thu Apr 19 02:42:11 EDT 2018
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
More information about the Python-Dev
mailing list