what does := means simply?

Chris Angelico rosuav at gmail.com
Thu May 17 10:03:17 EDT 2018


On Thu, May 17, 2018 at 11:34 PM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
> 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".
>

Yep. Or just "you're welcome to propose an unrelated feature".

ChrisA



More information about the Python-list mailing list