From 4c0d7bc52afcd6b34b1085a52bb33ae695f656e5 Mon Sep 17 00:00:00 2001 From: yihong Date: Tue, 16 Sep 2025 11:18:41 +0800 Subject: [PATCH] gh-138958: remove unused variable in Lib/asyncio/streams.py (#138959) --- Lib/asyncio/streams.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/asyncio/streams.py b/Lib/asyncio/streams.py index c8c01f364741..59e22f523a85 100644 --- a/Lib/asyncio/streams.py +++ b/Lib/asyncio/streams.py @@ -214,7 +214,6 @@ class StreamReaderProtocol(FlowControlMixin, protocols.Protocol): return self._stream_reader_wr() def _replace_transport(self, transport): - loop = self._loop self._transport = transport self._over_ssl = transport.get_extra_info('sslcontext') is not None -- 2.47.3