Message353033
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. |
|
Date |
User |
Action |
Args |
2019-09-23 15:40:12 | edd07 | set | recipients:
+ edd07, asvetlov, docs@python, yselivanov |
2019-09-23 15:40:12 | edd07 | set | messageid: <1569253212.87.0.131241104419.issue38260@roundup.psfhosted.org> |
2019-09-23 15:40:12 | edd07 | link | issue38260 messages |
2019-09-23 15:40:12 | edd07 | create | |
|