gh-138958: remove unused variable in Lib/asyncio/streams.py (#138959)

This commit is contained in:
yihong 2025-09-16 11:18:41 +08:00 committed by GitHub
parent 445b424b74
commit 4c0d7bc52a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -214,7 +214,6 @@ def _stream_reader(self):
return self._stream_reader_wr() return self._stream_reader_wr()
def _replace_transport(self, transport): def _replace_transport(self, transport):
loop = self._loop
self._transport = transport self._transport = transport
self._over_ssl = transport.get_extra_info('sslcontext') is not None self._over_ssl = transport.get_extra_info('sslcontext') is not None