diff options
author | Éric Araujo <merwok@netwok.org> | 2010-08-17 21:35:09 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2010-08-17 21:35:09 (GMT) |
commit | 9cd464d66b45fd4392745ddbea9048188172d010 (patch) | |
tree | a0529e8b1b5c851fa825ab93d6742284a11af75b /Doc | |
parent | af528da7cdaaf94e38e817acf4bc243b718764a3 (diff) | |
download | cpython-9cd464d66b45fd4392745ddbea9048188172d010.zip cpython-9cd464d66b45fd4392745ddbea9048188172d010.tar.gz cpython-9cd464d66b45fd4392745ddbea9048188172d010.tar.bz2 |
Merged revisions 84159 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84159 | eric.araujo | 2010-08-17 23:24:05 +0200 (mar., 17 août 2010) | 1 line
Fix example
........
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/gzip.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/gzip.rst b/Doc/library/gzip.rst index 022bef7..894a423 100644 --- a/Doc/library/gzip.rst +++ b/Doc/library/gzip.rst @@ -102,7 +102,7 @@ Example of how to GZIP compress an existing file:: import gzip with open('/home/joe/file.txt', 'rb') as f_in: - with f_out = gzip.open('/home/joe/file.txt.gz', 'wb') as f_out: + with gzip.open('/home/joe/file.txt.gz', 'wb') as f_out: f_out.writelines(f_in) |