mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 22:02:27 +00:00
Fix import asyncio
(#763)
This commit is contained in:
parent
775f456d4c
commit
893703a07b
6 changed files with 39 additions and 24 deletions
2
third_party/python/Lib/asyncio/events.py
vendored
2
third_party/python/Lib/asyncio/events.py
vendored
|
@ -659,7 +659,7 @@ def _init_event_loop_policy():
|
|||
global _event_loop_policy
|
||||
with _lock:
|
||||
if _event_loop_policy is None: # pragma: no branch
|
||||
from . import DefaultEventLoopPolicy
|
||||
from .unix_events import DefaultEventLoopPolicy
|
||||
_event_loop_policy = DefaultEventLoopPolicy()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue