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

Method __del__

Lib/asyncio/base_events.py:756–760  ·  view source on GitHub ↗
(self, _warn=warnings.warn)

Source from the content-addressed store, hash-verified

754 return self._closed
755
756 def __del__(self, _warn=warnings.warn):
757 if not self.is_closed():
758 _warn(f"unclosed event loop {self!r}", ResourceWarning, source=self)
759 if not self.is_running():
760 self.close()
761
762 def is_running(self):
763 """Returns True if the event loop is running."""

Callers

nothing calls this directly

Calls 4

is_closedMethod · 0.95
is_runningMethod · 0.95
closeMethod · 0.95
_warnFunction · 0.50

Tested by

no test coverage detected