MCPcopy Index your code
hub / github.com/python/cpython / __del__

Method __del__

Lib/tempfile.py:480–484  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

478 self.cleanup()
479
480 def __del__(self):
481 close_called = self.close_called
482 self.cleanup()
483 if not close_called:
484 _warnings.warn(self.warn_message, ResourceWarning)
485
486
487class _TemporaryFileWrapper:

Callers

nothing calls this directly

Calls 2

cleanupMethod · 0.95
warnMethod · 0.45

Tested by

no test coverage detected