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

2018年4月18日 11:06:49 -0700

On Apr 18, 2018, at 10:43, MRAB <[email protected]> wrote:
> Some languages use '=' for assignment, others for equality, but do you know 
> of a language that uses ':=' for equality' or '==' for assignment?
Clearly we should take a page from the ternary operator and make the assignment 
expression operator just ugly enough that people won’t overuse it. Since I 
can’t have ‘>>’ or ‘<>’ back, I propose ‘=======‘.
go-ahead-count-‘em-every-time-ly y’rs,
-Barry

Attachment: signature.asc
Description: Message signed with OpenPGP

_______________________________________________
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