diff --git a/Lib/gzip.py b/Lib/gzip.py index d5b5743ff62..d2d6dd6531a 100644 --- a/Lib/gzip.py +++ b/Lib/gzip.py @@ -302,7 +302,8 @@ def _read_gzip_header(self): if flag & FEXTRA: # Read & discard the extra field, if present - self._read_exact(struct.unpack("