diff --git a/Lib/gzip.py b/Lib/gzip.py index d7da02ca1be..a1f13b491d3 100644 --- a/Lib/gzip.py +++ b/Lib/gzip.py @@ -302,7 +302,8 @@ class GzipFile(io.BufferedIOBase): if flag & FEXTRA: # Read & discard the extra field, if present - self._read_exact(struct.unpack("