diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2014-08-08 17:24:06 +0300 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2014-08-08 17:24:06 +0300 |
commit | 39b6661075733cc36a335a09c735d09aa15618d5 (patch) | |
tree | 8f803147dc947765a6c0f33f775a5c32c2126932 | |
parent | 399606e5a8a9e1cbfa1ff299104c71cc9fd59aeb (diff) | |
parent | 1e2fe94c657ba6ab0d4606c3e9e5e670feacf6b5 (diff) | |
download | cpython-39b6661075733cc36a335a09c735d09aa15618d5.tar.gz |
#22170: merge with 3.4.
-rw-r--r-- | Doc/tutorial/classes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst index 6c71d80e03..11e07e352d 100644 --- a/Doc/tutorial/classes.rst +++ b/Doc/tutorial/classes.rst @@ -802,7 +802,7 @@ using a :keyword:`for` statement:: 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 |