From: yihong Date: Tue, 16 Sep 2025 03:18:41 +0000 (+0800) Subject: gh-138958: remove unused variable in Lib/asyncio/streams.py (#138959) X-Git-Tag: v3.15.0a1~341 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4c0d7bc52afcd6b34b1085a52bb33ae695f656e5;p=thirdparty%2FPython%2Fcpython.git gh-138958: remove unused variable in Lib/asyncio/streams.py (#138959) --- 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