mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-134657: Remove newly added private names from asyncio.__all__ (#134665)
This commit is contained in:
parent
f1dcf3c7bf
commit
797abd1f7f
47 changed files with 105 additions and 90 deletions
|
|
@ -601,3 +601,9 @@ def func():
|
|||
await asyncio.sleep(0)
|
||||
if exc is not None:
|
||||
raise exc
|
||||
|
||||
|
||||
if sys.platform == 'win32':
|
||||
DefaultEventLoopPolicy = asyncio.windows_events._DefaultEventLoopPolicy
|
||||
else:
|
||||
DefaultEventLoopPolicy = asyncio.unix_events._DefaultEventLoopPolicy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue