Remove redundant assignment in asyncio.streams.StreamReaderProtocol.connection_lost() (GH-137524)

The _stream_writer attribute was removed in a355f60 (gh-114914).
This commit is contained in:
maurycy
2025-08-07 17:38:14 +02:00
committed by GitHub
parent 082f370cdd
commit db8742e2b4

View File

@@ -271,7 +271,6 @@ class StreamReaderProtocol(FlowControlMixin, protocols.Protocol):
self._closed.set_exception(exc) self._closed.set_exception(exc)
super().connection_lost(exc) super().connection_lost(exc)
self._stream_reader_wr = None self._stream_reader_wr = None
self._stream_writer = None
self._task = None self._task = None
self._transport = None self._transport = None