On Thu, Apr 12, 2018 at 07:28:28AM +1000, Chris Angelico wrote:

> Fair enough. Also adding that chained assignment expressions should
> generally be avoided.

So long as its not a blanket prohibition, I'm good with that.

Also, something like this:

    spam := 2*(eggs := expression) + 1

should not be considered a chained assignment.



-- 
Steve
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to