[docs] [issue32472] Mention of __await__ missing in Coroutine Abstract Methods

Andrew Svetlov report at bugs.python.org
Tue Jan 2 04:18:02 EST 2018


Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:

`Coroutine` is inherited from `Awaitable`, that's why inherited abstract `__await__` method is present.

It **is** consistent with the rest of the document: e.g. Mapping has no `__len__` method but inherits it from Collection which in turn is inherited from Sized

----------
nosy: +asvetlov
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32472>
_______________________________________


More information about the docs mailing list