Searched defs:magic (Results 1 - 1 of 1) sorted by relevance

/pkg/src/modules/
H A Dpkggzip.py44 # (\037,\213) are the gzip magic number. The third byte is the
51 magic = b"\037\213\010\000\000\000\000\000\002\377" variable in class:PkgGzipFile
54 self.fileobj.write(self.magic)
59 hdrstr = f.read(len(PkgGzipFile.magic))
61 return (hdrstr == PkgGzipFile.magic)

Completed in 11 milliseconds