[Python-checkins] cpython (merge 3.4 -> default): #22170: merge with 3.4.
ezio.melotti
python-checkins at python.org
Fri Aug 8 16:24:45 CEST 2014
http://hg.python.org/cpython/rev/79e469ae13b7
changeset: 92040:79e469ae13b7
parent: 92038:8480179d2a7f
parent: 92039:35db84720d8d
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Fri Aug 08 17:24:06 2014 +0300
summary:
#22170: merge with 3.4.
files:
Doc/tutorial/classes.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst
--- a/Doc/tutorial/classes.rst
+++ b/Doc/tutorial/classes.rst
@@ -802,7 +802,7 @@
for char in "123":
print(char)
for line in open("myfile.txt"):
- print(line)
+ print(line, end='')
This style of access is clear, concise, and convenient. The use of iterators
pervades and unifies Python. Behind the scenes, the :keyword:`for` statement
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list