Nick Coghlan writes:
 >     for .i in range(10):
 >         print(.i) # This is fine
 >     print(.i) # This is an error (unless an outer statement also sets .i)

That's one heck of a lot of grit on Tim's screen!

_______________________________________________
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