From 6600dabd5caff1f2d74c9aa7e4e5756524f1a343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oleg=20H=C3=B6fling?= Date: Sat, 22 Feb 2020 05:49:31 +0100 Subject: [PATCH] import SelectorEventLoop from asyncio.unix_events when not on windows (#3753) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Oleg Höfling --- stdlib/3/asyncio/__init__.pyi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stdlib/3/asyncio/__init__.pyi b/stdlib/3/asyncio/__init__.pyi index eb2b021de..d52787f25 100644 --- a/stdlib/3/asyncio/__init__.pyi +++ b/stdlib/3/asyncio/__init__.pyi @@ -110,12 +110,11 @@ if sys.version_info >= (3, 7): ) if sys.platform != 'win32': - # This is already imported above on Windows. - SelectorEventLoop: Type[AbstractEventLoop] from .unix_events import ( AbstractChildWatcher as AbstractChildWatcher, BaseChildWatcher as BaseChildWatcher, SafeChildWatcher as SafeChildWatcher, + SelectorEventLoop as SelectorEventLoop, ) if sys.version_info >= (3, 8): from .unix_events import MultiLoopChildWatcher as MultiLoopChildWatcher, ThreadedChildWatcher as ThreadedChildWatcher