Sorry for adding yet another mail. :-(

On 04.07.2018 10:54, Serhiy Storchaka wrote:
Sorry, this PEP was rewritten so many times that I missed your Appendix.

while total != (total := total + term):
    term *= mx2 / (i*(i+1))
    i += 2
return total


This very example here caught my eye.

Isn't total not always equal to total? What would "regular" Python have looked like?

Regards,
Sven
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
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