mirror of
https://github.com/python/cpython.git
synced 2025-12-03 16:19:41 +00:00
Remove some dead code from gzip and tarfile (#138123)
The original_n variable and the writebuf and bufsize attributes were never used.
This commit is contained in:
parent
a5530656c1
commit
edf6e6819b
2 changed files with 0 additions and 3 deletions
|
|
@ -268,8 +268,6 @@ class GzipFile(_streams.BaseStream):
|
|||
self.name = filename
|
||||
self.crc = zlib.crc32(b"")
|
||||
self.size = 0
|
||||
self.writebuf = []
|
||||
self.bufsize = 0
|
||||
self.offset = 0 # Current file offset for seek(), tell(), etc
|
||||
|
||||
def tell(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue