Issue #29314: Merge with 3.6
This commit is contained in:
commit
189413dcfe
|
@ -487,7 +487,8 @@ def async_(coro_or_future, *, loop=None):
|
|||
"""
|
||||
|
||||
warnings.warn("asyncio.async() function is deprecated, use ensure_future()",
|
||||
DeprecationWarning)
|
||||
DeprecationWarning,
|
||||
stacklevel=2)
|
||||
|
||||
return ensure_future(coro_or_future, loop=loop)
|
||||
|
||||
|
|
Loading…
Reference in New Issue