diff options
author | Georg Brandl <georg@python.org> | 2007-09-20 08:44:59 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-09-20 08:44:59 (GMT) |
commit | 5d242eef748de2a48e171decce4a1ed73d079f32 (patch) | |
tree | 1bb74f0f3218437a0cd9f2d3bf81c56aa3da6ad9 /Doc/tutorial | |
parent | 7268e9d1ff3ace7696b88bc50bdad1027697a277 (diff) | |
download | cpython-5d242eef748de2a48e171decce4a1ed73d079f32.zip cpython-5d242eef748de2a48e171decce4a1ed73d079f32.tar.gz cpython-5d242eef748de2a48e171decce4a1ed73d079f32.tar.bz2 |
alternate -> alternative.
Diffstat (limited to 'Doc/tutorial')
-rw-r--r-- | Doc/tutorial/inputoutput.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/inputoutput.rst b/Doc/tutorial/inputoutput.rst index 9c302af..beca1be 100644 --- a/Doc/tutorial/inputoutput.rst +++ b/Doc/tutorial/inputoutput.rst @@ -250,7 +250,7 @@ having to load the entire file in memory. Only complete lines will be returned. >>> f.readlines() ['This is the first line of the file.\n', 'Second line of the file\n'] -An alternate approach to reading lines is to loop over the file object. This is +An alternative approach to reading lines is to loop over the file object. This is memory efficient, fast, and leads to simpler code:: >>> for line in f: |