This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author AkechiShiro
Recipients AkechiShiro, docs@python
Date 2021-10-16.20:59:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1634417962.21.0.795610058247.issue45498@roundup.psfhosted.org>
In-reply-to
Content
I was looking through the documentation at examples for reading CSV files and noticed that an undefined variable was printed in a code example, this affects Python version from 3.6 till 3.110a1 (dev version of the documentation).

It got me kind of confused, because a for loop does not really declare variables.
The fix is really simple, just printing the variable that is declared.
History
Date User Action Args
2021-10-16 20:59:22AkechiShirosetrecipients: + AkechiShiro, docs@python
2021-10-16 20:59:22AkechiShirosetmessageid: <1634417962.21.0.795610058247.issue45498@roundup.psfhosted.org>
2021-10-16 20:59:22AkechiShirolinkissue45498 messages
2021-10-16 20:59:22AkechiShirocreate