diff options
Diffstat (limited to 'Lib/gzip.py')
-rw-r--r-- | Lib/gzip.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/gzip.py b/Lib/gzip.py index 0ba2ac2..ee39169 100644 --- a/Lib/gzip.py +++ b/Lib/gzip.py @@ -1,15 +1,15 @@ +"""This module implements a function that reads and writes a gzipped file. +The user of the file doesn't have to worry about the compression, +but random access is not allowed.""" + +# based on Andrew Kuchling's minigzip.py distributed with the zlib module + import time import string import zlib import struct import __builtin__ -# implements a python function that reads and writes a gzipped file -# the user of the file doesn't have to worry about the compression, -# but random access is not allowed - -# based on Andrew Kuchling's minigzip.py distributed with the zlib module - FTEXT, FHCRC, FEXTRA, FNAME, FCOMMENT = 1, 2, 4, 8, 16 READ, WRITE = 1, 2 |