Fix errors discovered by running typeshed check on Windows (#3456)

Fix errors discovered by running typeshed check on Windows. This is a temporary fix for #3446 (in long term we should figure out why these were not caught by typeshed CI).

I also remove an outdated comment while I am at it.
This commit is contained in:
Ivan Levkivskyi
2019-11-11 12:18:58 +00:00
committed by GitHub
parent e55dad5dd0
commit 05780a0d11
2 changed files with 4 additions and 6 deletions

View File

@@ -109,11 +109,9 @@ if sys.version_info >= (3, 7):
run as run,
)
# TODO: It should be possible to instantiate these classes, but mypy
# currently disallows this.
# See https://github.com/python/mypy/issues/1843
SelectorEventLoop: Type[AbstractEventLoop]
if sys.platform != 'win32':
# This is already imported above on Windows.
SelectorEventLoop: Type[AbstractEventLoop]
# TODO: AbstractChildWatcher (UNIX only)