Lint
This commit is contained in:
1 parent
e07b6dfe0b
commit
03845ef490
1 file changed
+1
@@ -28,6 +28,7 @@ def set_loop() -> None:
|
||||
|
||||
if sys.platform == 'win32':
|
||||
if hasattr(asyncio, 'WindowsProactorEventLoopPolicy'):
|
||||
# pylint: disable=no-member
|
||||
policy = asyncio.WindowsProactorEventLoopPolicy()
|
||||
else:
|
||||
class ProactorPolicy(BaseDefaultEventLoopPolicy):
|
||||
|
||||
Reference in new issue
Block a user