[issue16598] Docs: double newlines printed in some file iteration examples

2012-12-02 Thread Steven Kryskalla
Changes by Steven Kryskalla : Added file: http://bugs.python.org/file28193/r80694.py27.patch ___ Python tracker <http://bugs.python.org/issue16598> ___ ___ Python-bug

[issue16598] Docs: double newlines printed in some file iteration examples

2012-12-02 Thread Steven Kryskalla
Changes by Steven Kryskalla : Removed file: http://bugs.python.org/file28192/r80699.patch ___ Python tracker <http://bugs.python.org/issue16598> ___ ___ Python-bugs-list m

[issue16598] Docs: double newlines printed in some file iteration examples

2012-12-02 Thread Steven Kryskalla
Changes by Steven Kryskalla : -- versions: +Python 2.7 Added file: http://bugs.python.org/file28192/r80699.patch ___ Python tracker <http://bugs.python.org/issue16

[issue16598] Docs: double newlines printed in some file iteration examples

2012-12-02 Thread Steven Kryskalla
New submission from Steven Kryskalla: I heard someone complain about this code appearing in the official documentation in a few places: for line in open("file.txt"): print(line) This code will print two newlines. I went through the current "default" and "2.7&