diff options
author | Ned Deily <nad@acm.org> | 2014-03-09 21:47:58 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2014-03-09 21:47:58 (GMT) |
commit | e5127299c86666080c50e8b7c76e70c3b968ada2 (patch) | |
tree | 86e9e67d731785042b48f4bff6e3feabf2a12e67 /Lib/gzip.py | |
parent | b8bf9951ad294398a7fb95d2fbbf79182c6a0920 (diff) | |
parent | 6120739f0cb1c26069570fea701fe79489f1cd9d (diff) | |
download | cpython-e5127299c86666080c50e8b7c76e70c3b968ada2.zip cpython-e5127299c86666080c50e8b7c76e70c3b968ada2.tar.gz cpython-e5127299c86666080c50e8b7c76e70c3b968ada2.tar.bz2 |
Issue #20875: Merge from 3.3
Diffstat (limited to 'Lib/gzip.py')
-rw-r--r-- | Lib/gzip.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/gzip.py b/Lib/gzip.py index 8d21fe4..f934d4f 100644 --- a/Lib/gzip.py +++ b/Lib/gzip.py @@ -96,7 +96,7 @@ class _PaddedFile: self._read -= len(prepend) return else: - self._buffer = self._buffer[read:] + prepend + self._buffer = self._buffer[self._read:] + prepend self._length = len(self._buffer) self._read = 0 |