MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / __del__

Method __del__

tools/python-3.11.9-amd64/Lib/zipfile.py:1892–1894  ·  view source on GitHub ↗

Call the "close()" method in case the user forgot.

(self)

Source from the content-addressed store, hash-verified

1890 self.start_dir = self.fp.tell()
1891
1892 def __del__(self):
1893 """Call the "close()" method in case the user forgot."""
1894 self.close()
1895
1896 def close(self):
1897 """Close the file, and for mode 'w', 'x' and 'a' write the ending

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected