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