(self, _warn=warnings.warn)
| 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 |