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

Method __del__

Lib/asyncio/unix_events.py:594–597  ·  view source on GitHub ↗
(self, _warn=warnings.warn)

Source from the content-addressed store, hash-verified

592 self._close(None)
593
594 def __del__(self, _warn=warnings.warn):
595 if self._pipe is not None:
596 _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
597 self._pipe.close()
598
599 def _fatal_error(self, exc, message='Fatal error on pipe transport'):
600 # should be called by exception handler only

Callers

nothing calls this directly

Calls 2

_warnFunction · 0.50
closeMethod · 0.45

Tested by

no test coverage detected