MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / __init__

Method __init__

Lib/gzip.py:45–136  ·  view source on GitHub ↗

Constructor for the GzipFile class. At least one of fileobj and filename must be given a non-trivial value. The new class instance is based on fileobj, which can be a regular file, a StringIO object, or any other object which simulates a file. It defaults to

(self, filename=None, mode=None,
                 compresslevel=9, fileobj=None, mtime=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

_init_writeMethod · 0.95
_write_gzip_headerMethod · 0.95
replaceMethod · 0.45
openMethod · 0.45

Tested by

no test coverage detected