[issue40405] asyncio.as_completed documentation misleading

Yury Selivanov report at bugs.python.org
Mon Apr 27 22:44:56 EDT 2020


Yury Selivanov <yselivanov at gmail.com> added the comment:

> @Yury what do you think?

Yeah, the documentation needs to be fixed.

> Maybe "Returns an iterator of awaitables"?

I'd suggest to change to: "Return an iterator of coroutines.  Each coroutine allows to wait for the earliest next result from the set of the remaining awaitables."

----------

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


More information about the Python-bugs-list mailing list