mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Add an alias for ensure_future as async (#1120)
`async` is still present in 3.6 and `ensure_future` doesn't exist before 3.4.4
This commit is contained in:
committed by
Jelle Zijlstra
parent
1ea3d2de57
commit
90415f5f9d
@@ -48,6 +48,7 @@ from asyncio.tasks import (
|
||||
ALL_COMPLETED as ALL_COMPLETED,
|
||||
as_completed as as_completed,
|
||||
ensure_future as ensure_future,
|
||||
ensure_future as async,
|
||||
gather as gather,
|
||||
run_coroutine_threadsafe as run_coroutine_threadsafe,
|
||||
shield as shield,
|
||||
|
||||
Reference in New Issue
Block a user