what does := means simply?

Steven D'Aprano steve+comp.lang.python at pearwood.info
Thu May 17 09:34:28 EDT 2018


On Thu, 17 May 2018 14:56:32 +0200, Antoon Pardon wrote:

> On 17-05-18 03:44, Chris Angelico wrote:

>> https://www.python.org/dev/peps/pep-0572/

> Just wondering, but in discussing this PEP has one considered making the
> ';' into an expression too, with the value being the value of the last
> expression?

I'm not going to answer for Chris, the PEP author, but if I were the PEP 
author I'd say "No, but you can write your own competing PEP".



-- 
Steve




More information about the Python-list mailing list