STINNER Victor added the comment:

Here is a a patch which replaces loop.create_task(coro) with 
asyncio.async(coro), mention that asyncio.async() can be used to scheduler a 
coroutine, and make it clear that create_task() is only available in Python 
3.4.2 and later.

Does it look better?

If it's possible, I would prefer to have exactly the same documentation in 
Python 3.4 and 3.5.

----------
keywords: +patch
Added file: http://bugs.python.org/file36203/doc_create_task.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22112>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to