[New-bugs-announce] [issue38260] asyncio.run documentation does not mention its return value

Luis E. report at bugs.python.org
Mon Sep 23 11:40:12 EDT 2019


New submission from Luis E. <edd at asustin.net>:

The documentation for asyncio.run (https://docs.python.org/3/library/asyncio-task.html#asyncio.run) does not mention the function's return value or lack of one.

Looking at the source, its clear it returns the passed coroutine's value via loop.run_until_complete, but the documentation or the provided example do not make it clear.

----------
assignee: docs at python
components: Documentation, asyncio
messages: 353033
nosy: asvetlov, docs at python, edd07, yselivanov
priority: normal
severity: normal
status: open
title: asyncio.run documentation does not mention its return value
type: enhancement
versions: Python 3.7

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


More information about the New-bugs-announce mailing list