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