diff options
author | 2021-10-08 11:18:06 +0100 | |
---|---|---|
committer | 2021-10-08 11:18:06 +0100 | |
commit | d63406c6b96093d74799a4e7cb681d3b94abf3c8 (patch) | |
tree | 3356b3a2aa7d49a86f185461b5e0a12fc5689f62 | |
parent | Bluenix Review #4 (diff) |
Fix typo
Co-authored-by: Bluenix <[email protected]>
-rw-r--r-- | bot/resources/tags/async-await.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/resources/tags/async-await.md b/bot/resources/tags/async-await.md index 52d3e47e0..01ab28fe3 100644 --- a/bot/resources/tags/async-await.md +++ b/bot/resources/tags/async-await.md @@ -22,6 +22,6 @@ async def main(): asyncio.run(main()) ``` -Note that in the `asyncio.run()`, where we appear to be calling `main()`, this does not execute the code in `main`. Rather, it creates and returns a new `coroutine` object (i.e `mmain() is not main()`) which is then handled and run by the event loop via `asyncio.run()`. +Note that in the `asyncio.run()`, where we appear to be calling `main()`, this does not execute the code in `main`. Rather, it creates and returns a new `coroutine` object (i.e `main() is not main()`) which is then handled and run by the event loop via `asyncio.run()`. To learn more about asyncio and its use, see the [asyncio documentation](https://docs.python.org/3/library/asyncio.html). |