Home | History | Annotate | Download | only in python2.7

Lines Matching full:gzipfile

13 __all__ = ["GzipFile","open"]
28 """Shorthand for GzipFile(filename, mode, compresslevel).
34 return GzipFile(filename, mode, compresslevel)
36 class GzipFile(io.BufferedIOBase):
37 """The GzipFile class simulates most of the methods of a file object with
47 """Constructor for the GzipFile class.
224 raise IOError(errno.EBADF, "write() on read-only GzipFile object")
227 raise ValueError, "write() on closed GzipFile object"
245 raise IOError(errno.EBADF, "read() on write-only GzipFile object")
492 f = GzipFile(filename="", mode="rb", fileobj=sys.stdin)
503 g = GzipFile(filename="", mode="wb", fileobj=sys.stdout)