summaryrefslogtreecommitdiffstats
path: root/Doc/library/asyncio-sync.rst
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2018-09-14 22:11:24 (GMT)
committerGitHub <noreply@github.com>2018-09-14 22:11:24 (GMT)
commit7372c3bbefb4763dbd1b6d66f7971bef28c0f056 (patch)
treea3a1520099a54abbb6165bbcc4a249fb68cf24dd /Doc/library/asyncio-sync.rst
parent6c7316439d966cdbc76ffcc005e5d9c563064ba2 (diff)
downloadcpython-7372c3bbefb4763dbd1b6d66f7971bef28c0f056.zip
cpython-7372c3bbefb4763dbd1b6d66f7971bef28c0f056.tar.gz
cpython-7372c3bbefb4763dbd1b6d66f7971bef28c0f056.tar.bz2
bpo-33649: Add high-level APIs cheat-sheet (GH-9319)
Diffstat (limited to 'Doc/library/asyncio-sync.rst')
-rw-r--r--Doc/library/asyncio-sync.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/asyncio-sync.rst b/Doc/library/asyncio-sync.rst
index 8da5aa8..f299885 100644
--- a/Doc/library/asyncio-sync.rst
+++ b/Doc/library/asyncio-sync.rst
@@ -94,6 +94,8 @@ Event
:meth:`clear` method. The :meth:`wait` method blocks until the
flag is set to *true*. The flag is set to *false* initially.
+ .. _asyncio_example_sync_event:
+
Example::
async def waiter(event):