summaryrefslogtreecommitdiffstats
path: root/Doc/library/asyncio.rst
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2018-09-18 21:55:44 (GMT)
committerGitHub <noreply@github.com>2018-09-18 21:55:44 (GMT)
commit471503954a91d86cf04228c38134108c67a263b0 (patch)
tree25ccace31572e066077eb9a2b343b986e252f4e1 /Doc/library/asyncio.rst
parenta3c88ef12c7b8993912750b56a1e095652fe47c0 (diff)
downloadcpython-471503954a91d86cf04228c38134108c67a263b0.zip
cpython-471503954a91d86cf04228c38134108c67a263b0.tar.gz
cpython-471503954a91d86cf04228c38134108c67a263b0.tar.bz2
bpo-33649: Add a high-level section about Futures; few quick fixes (GH-9403)
Co-authored-by: Elvis Pranskevichus <elvis@magic.io>
Diffstat (limited to 'Doc/library/asyncio.rst')
-rw-r--r--Doc/library/asyncio.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/library/asyncio.rst b/Doc/library/asyncio.rst
index 1511b2f..6990adb 100644
--- a/Doc/library/asyncio.rst
+++ b/Doc/library/asyncio.rst
@@ -17,6 +17,7 @@
await asyncio.sleep(1)
print('... World!')
+ # Python 3.7+
asyncio.run(main())
asyncio is a library to write **concurrent** code using