[Python-checkins] r84161 - in python/branches/release31-maint: Doc/library/gzip.rst

eric.araujo python-checkins at python.org
Tue Aug 17 23:35:10 CEST 2010


Author: eric.araujo
Date: Tue Aug 17 23:35:09 2010
New Revision: 84161

Log:
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
........


Modified:
   python/branches/release31-maint/   (props changed)
   python/branches/release31-maint/Doc/library/gzip.rst

Modified: python/branches/release31-maint/Doc/library/gzip.rst
==============================================================================
--- python/branches/release31-maint/Doc/library/gzip.rst	(original)
+++ python/branches/release31-maint/Doc/library/gzip.rst	Tue Aug 17 23:35:09 2010
@@ -102,7 +102,7 @@
 
    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)
 
 


More information about the Python-checkins mailing list