Lines Matching refs:GzipFile
16 The :mod:`gzip` module provides the :class:`GzipFile` class, as well as the
18 The :class:`GzipFile` class reads and writes :program:`gzip`\ -format files,
42 :class:`GzipFile` constructor.
44 For binary mode, this function is equivalent to the :class:`GzipFile`
45 constructor: ``GzipFile(filename, mode, compresslevel)``. In this case, the
48 For text mode, a :class:`GzipFile` object is created, and wrapped in an
70 .. class:: GzipFile(filename=None, mode=None, compresslevel=9, fileobj=None, mtime=None)
72 Constructor for the :class:`GzipFile` class, which simulates most of the
95 in text mode, use :func:`.open` (or wrap your :class:`GzipFile` with an
108 Calling a :class:`GzipFile` object's :meth:`close` method does not close
114 :class:`GzipFile` supports the :class:`io.BufferedIOBase` interface,
118 :class:`GzipFile` also provides the following method and attribute:
128 the :class:`GzipFile`, it may change the position of the underlying
129 file object (e.g. if the :class:`GzipFile` was constructed with the
169 Opening :class:`GzipFile` for writing without specifying the *mode*
177 the :class:`GzipFile` constructor above.