Commit f5be090b authored by Éric Araujo's avatar Éric Araujo

Fix example

parent cdfe1c54
......@@ -120,7 +120,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)
Example of how to GZIP compress a binary string::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment