On Mar 30, 2017 12:53, "Nick Coghlan" <ncogh...@gmail.com> wrote:

Because it's relatively rare to not use the loop variable for anything
(even if it's just a debug message), and in the cases where you
genuinely don't use it, a standard idiom can be applied (using a
single or double underscore as a dummy variable), rather than all
future users of the language needing to learn a special case syntax.

Cheers,
Nick.




I
_______________________________________________
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