(self, warnings=warnings)
| 400 | protocol._replace_transport(new_transport) |
| 401 | |
| 402 | def __del__(self, warnings=warnings): |
| 403 | if not self._transport.is_closing(): |
| 404 | if self._loop.is_closed(): |
| 405 | warnings.warn("loop is closed", ResourceWarning) |
| 406 | else: |
| 407 | self.close() |
| 408 | warnings.warn(f"unclosed {self!r}", ResourceWarning) |
| 409 | |
| 410 | class StreamReader: |
| 411 |
nothing calls this directly
no test coverage detected