Update __init__.py (#3381)

Removed redundant check.
This commit is contained in:
Redjumpman 2020-01-16 13:18:20 -05:00 committed by Michael H
parent a1b95e5072
commit d6d14617d2

View File

@ -181,9 +181,7 @@ class VersionInfo:
def _update_event_loop_policy():
if _sys.platform == "win32":
_asyncio.set_event_loop_policy(_asyncio.WindowsProactorEventLoopPolicy())
elif _sys.implementation.name == "cpython":
if _sys.implementation.name == "cpython":
# Let's not force this dependency, uvloop is much faster on cpython
try:
import uvloop as _uvloop