]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-138958: remove unused variable in Lib/asyncio/streams.py (#138959)
authoryihong <zouzou0208@gmail.com>
Tue, 16 Sep 2025 03:18:41 +0000 (11:18 +0800)
committerGitHub <noreply@github.com>
Tue, 16 Sep 2025 03:18:41 +0000 (08:48 +0530)
Lib/asyncio/streams.py

index c8c01f364741835acb4935736d58960b43c6d700..59e22f523a85c5f4e7039de22cd19eb3980ab5a9 100644 (file)
@@ -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