Commit 6138432e authored by Mariatta Wijaya's avatar Mariatta Wijaya

Issue #29314: Merge with 3.5

parents e39262cc 4e7ff8b1
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment