Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 304e542 + 79a1ffd commit 7d02a98Copy full SHA for 7d02a98
1 file changed
Doc/tutorial/classes.rst
@@ -802,7 +802,7 @@ using a :keyword:`for` statement::
802
for char in "123":
803
print(char)
804
for line in open("myfile.txt"):
805
- print(line)
+ print(line, end='')
806
807
This style of access is clear, concise, and convenient. The use of iterators
808
pervades and unifies Python. Behind the scenes, the :keyword:`for` statement
0 commit comments