MCPcopy Index your code
hub / github.com/RustPython/RustPython / __del__

Method __del__

Lib/tarfile.py:422–424  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

420 raise
421
422 def __del__(self):
423 if hasattr(self, "closed") and not self.closed:
424 self.close()
425
426 def _init_write_gz(self, compresslevel):
427 """Initialize for writing with gzip compression.

Callers

nothing calls this directly

Calls 2

closeMethod · 0.95
hasattrFunction · 0.85

Tested by

no test coverage detected