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

Method __del__

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

Source from the content-addressed store, hash-verified

791 self.write_eof()
792
793 def __del__(self, _warn=warnings.warn):
794 if self._pipe is not None:
795 _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
796 self._pipe.close()
797
798 def abort(self):
799 self._close(None)

Callers

nothing calls this directly

Calls 2

_warnFunction · 0.50
closeMethod · 0.45

Tested by

no test coverage detected