[docs] [issue26582] asyncio documentation links to wrong CancelledError

SilentGhost report at bugs.python.org
Mon Mar 21 12:51:52 EDT 2016


SilentGhost added the comment:

In fact most of the :exc: reference are pointing explicitly to concurrent.futures.CancelledError (and those that don't probably should). It is interesting that you weren't able to make use of that exception, because in Lib/asyncio/futures.py#L23 it's clearly defined as an alias of the concurrent.futures.CancelledError.

I guess, ultimately, asyncio.CancelleError needs to be documented seeing how widely used it is.

----------
nosy: +SilentGhost

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26582>
_______________________________________


More information about the docs mailing list