Fix example
diff --git a/Doc/library/gzip.rst b/Doc/library/gzip.rst
index 9958638..2cece84 100644
--- a/Doc/library/gzip.rst
+++ b/Doc/library/gzip.rst
@@ -120,7 +120,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)
 
 Example of how to GZIP compress a binary string::