mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-03 01:47:29 +08:00
Mypy now supports sys.platform and sys.version_info checks (#410)
This commit is contained in:
1 parent
112a1a17dd
commit
39325bf159
27 files changed
+289
-276
No files matched your search
@@ -81,7 +81,7 @@ from asyncio.locks import (
|
||||
# See https://github.com/python/mypy/issues/1843
|
||||
SelectorEventLoop = ... # type: Type[AbstractEventLoop]
|
||||
if sys.platform == 'win32':
|
||||
ProactorEventLoop = ... # type: Type[AbstractEventLoop] # TODO: Windows only
|
||||
ProactorEventLoop = ... # type: Type[AbstractEventLoop]
|
||||
DefaultEventLoopPolicy = ... # type: Type[AbstractEventLoopPolicy]
|
||||
|
||||
# TODO: AbstractChildWatcher (UNIX only)
|
||||
|
||||
Reference in new issue
Block a user