def _init_write_gz(self):
self.cmp = self.zlib.compressobj(<NUM_LIT:9>, self.zlib.DEFLATED,<EOL>-self.zlib.MAX_WBITS,<EOL>self.zlib.DEF_MEM_LEVEL,<EOL><NUM_LIT:0>)<EOL>timestamp = struct.pack("<STR_LIT>", int(time.time()))<EOL>self.__write(b"<STR_LIT>" + timestamp + b"<STR_LIT>")<EOL>if self.name.endswith("<STR_LIT>"):<EOL><INDENT>self.name = self.name[:-<NUM_LIT:3>]<EOL><DEDENT>self.__write(self.name.encode("<STR_LIT>", "<STR_LIT:replace>") + NUL)<EOL>
Initialize for writing with gzip compression.