Skip to content

Commit 9b44c25

Browse files
committed
Remove redundant flush implementation
1 parent c0d6a51 commit 9b44c25

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/isal/igzip.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,6 @@ def __repr__(self):
152152
s = repr(self.fileobj)
153153
return '<igzip ' + s[1:-1] + ' ' + hex(id(self)) + '>'
154154

155-
def flush(self, zlib_mode=isal_zlib.Z_SYNC_FLUSH):
156-
super().flush(zlib_mode)
157-
158155
def _write_gzip_header(self, compresslevel=_COMPRESS_LEVEL_TRADEOFF):
159156
# Python 3.9 added a `compresslevel` parameter to write gzip header.
160157
# This only determines the value of one extra flag. Because this change

0 commit comments

Comments
 (0)