Skip to content

Commit 554f7bb

Browse files
maurycyAgent-Hellboy
authored andcommitted
Remove redundant assignment in asyncio.streams.StreamReaderProtocol.connection_lost() (pythonGH-137524)
The _stream_writer attribute was removed in a355f60 (pythongh-114914).
1 parent 9a1d9c1 commit 554f7bb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Lib/asyncio/streams.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ def connection_lost(self, exc):
271271
self._closed.set_exception(exc)
272272
super().connection_lost(exc)
273273
self._stream_reader_wr = None
274-
self._stream_writer = None
275274
self._task = None
276275
self._transport = None
277276

0 commit comments

Comments
 (0)