parent
f665b96e92
commit
1d5bdef550
|
@ -40,7 +40,7 @@ be executed::
|
||||||
>>> main()
|
>>> main()
|
||||||
<coroutine object main at 0x1053bb7c8>
|
<coroutine object main at 0x1053bb7c8>
|
||||||
|
|
||||||
To actually run a coroutine asyncio provides three main mechanisms:
|
To actually run a coroutine, asyncio provides three main mechanisms:
|
||||||
|
|
||||||
* The :func:`asyncio.run` function to run the top-level
|
* The :func:`asyncio.run` function to run the top-level
|
||||||
entry point "main()" function (see the above example.)
|
entry point "main()" function (see the above example.)
|
||||||
|
|
Loading…
Reference in New Issue