mirror of https://github.com/python/cpython
[3.11] gh-92417: `asyncio` docs: `asyncio.run()` is available on all supported Python versions (GH-92419) (GH-92462)
(cherry picked from commit f4e317b304
)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Automerge-Triggered-By: GH:serhiy-storchaka
This commit is contained in:
parent
dfad113715
commit
29f592e6fe
|
@ -17,7 +17,6 @@
|
|||
await asyncio.sleep(1)
|
||||
print('... World!')
|
||||
|
||||
# Python 3.7+
|
||||
asyncio.run(main())
|
||||
|
||||
asyncio is a library to write **concurrent** code using
|
||||
|
|
Loading…
Reference in New Issue