[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 branches and changed the places

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

2012-12-02 Thread Steven Kryskalla
Changes by Steven Kryskalla skryska...@gmail.com: -- versions: +Python 2.7 Added file: http://bugs.python.org/file28192/r80699.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16598

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

2012-12-02 Thread Steven Kryskalla
Changes by Steven Kryskalla skryska...@gmail.com: Removed file: http://bugs.python.org/file28192/r80699.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16598

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

2012-12-02 Thread Steven Kryskalla
Changes by Steven Kryskalla skryska...@gmail.com: Added file: http://bugs.python.org/file28193/r80694.py27.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16598