From: Timofei <128279579+deadlovelll@users.noreply.github.com> Date: Wed, 8 Jul 2026 09:24:24 +0000 (+0300) Subject: gh-150358: Remove unused _complete_fut attribute from asyncio.StreamWriter (#150359) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bf2f073194520645abd768f7debc234011e248e;p=thirdparty%2FPython%2Fcpython.git gh-150358: Remove unused _complete_fut attribute from asyncio.StreamWriter (#150359) --- diff --git a/Lib/asyncio/streams.py b/Lib/asyncio/streams.py index a28c11e928f8..d6076465f793 100644 --- a/Lib/asyncio/streams.py +++ b/Lib/asyncio/streams.py @@ -321,8 +321,6 @@ class StreamWriter: assert reader is None or isinstance(reader, StreamReader) self._reader = reader self._loop = loop - self._complete_fut = self._loop.create_future() - self._complete_fut.set_result(None) def __repr__(self): info = [self.__class__.__name__, f'transport={self._transport!r}']