(self,zlib_mode=zlib.Z_SYNC_FLUSH)
| 344 | myfileobj.close() |
| 345 | |
| 346 | def flush(self,zlib_mode=zlib.Z_SYNC_FLUSH): |
| 347 | self._check_not_closed() |
| 348 | if self.mode == WRITE: |
| 349 | # Ensure the compressor's buffer is flushed |
| 350 | self.fileobj.write(self.compress.flush(zlib_mode)) |
| 351 | self.fileobj.flush() |
| 352 | |
| 353 | def fileno(self): |
| 354 | """Invoke the underlying file object's fileno() method. |
no test coverage detected