(self)
| 395 | self._close() |
| 396 | |
| 397 | def _close(self): |
| 398 | self.fileobj = None |
| 399 | myfileobj = self.myfileobj |
| 400 | if myfileobj is not None: |
| 401 | self.myfileobj = None |
| 402 | myfileobj.close() |
| 403 | |
| 404 | def flush(self,zlib_mode=zlib.Z_SYNC_FLUSH): |
| 405 | self._check_not_closed() |