New submission from Lahfa Samy <lahfa121...@gmail.com>:
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. ---------- assignee: docs@python components: Documentation files: csv-example-fix.patch keywords: patch messages: 404115 nosy: AkechiShiro, docs@python priority: normal severity: normal status: open title: [doc] Fix a code example, non declared variable being printed type: enhancement versions: Python 3.10, Python 3.11, Python 3.6, Python 3.7, Python 3.8, Python 3.9 Added file: https://bugs.python.org/file50365/csv-example-fix.patch _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45498> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com