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

Method __del__

Lib/asyncio/base_subprocess.py:133–136  ·  view source on GitHub ↗
(self, _warn=warnings.warn)

Source from the content-addressed store, hash-verified

131 # Don't clear the _proc reference yet: _post_init() may still run
132
133 def __del__(self, _warn=warnings.warn):
134 if not self._closed:
135 _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
136 self.close()
137
138 def get_pid(self):
139 return self._pid

Callers

nothing calls this directly

Calls 2

closeMethod · 0.95
_warnFunction · 0.50

Tested by

no test coverage detected