STINNER Victor added the comment:
Thanks for the patch.
By the way, the CancelledError from conccurent.futures is not documented and
asyncio still has its own asyncio.CancelledError alias which is not documented
neither.
--
nosy: +giampaolo.rodola, gvanrossum, pitrou, yselivanov
resol
Roundup Robot added the comment:
New changeset c2384ca7fc3b by Victor Stinner in branch '3.4':
Issue #21601: Document asyncio.Task.cancel(). Initial patch written by Vajrasky
http://hg.python.org/cpython/rev/c2384ca7fc3b
New changeset 0ee47d3d2664 by Victor Stinner in branch 'default':
(Merge 3.
New submission from Vajrasky Kok:
https://docs.python.org/3.5/library/asyncio-task.html#task
The cancel method is not documented although it is a part of public API. Here
is the patch to fix the doc.
--
assignee: docs@python
components: Documentation
files: fix_doc_asyncio_task.patch
k