diff options
author | Matt Fowler <matt.fow@gmail.com> | 2020-12-23 10:44:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-23 10:44:52 (GMT) |
commit | d90ff376813843310a6f9ccc96551fa1521e8fef (patch) | |
tree | d7c87b74a6067bbf6fd9dff2cb4cb860b314846d | |
parent | 6d9ec8bbfa07161431dc6190dd0772a6fbaf7ebd (diff) | |
download | cpython-d90ff376813843310a6f9ccc96551fa1521e8fef.zip cpython-d90ff376813843310a6f9ccc96551fa1521e8fef.tar.gz cpython-d90ff376813843310a6f9ccc96551fa1521e8fef.tar.bz2 |
BPO-42703: Fix incorrect documentation links for asyncio.Event (GH-23881)
-rw-r--r-- | Doc/library/asyncio-sync.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/asyncio-sync.rst b/Doc/library/asyncio-sync.rst index a7688d5..d12630a 100644 --- a/Doc/library/asyncio-sync.rst +++ b/Doc/library/asyncio-sync.rst @@ -101,8 +101,8 @@ Event that some event has happened. An Event object manages an internal flag that can be set to *true* - with the :meth:`set` method and reset to *false* with the - :meth:`clear` method. The :meth:`wait` method blocks until the + with the :meth:`~Event.set` method and reset to *false* with the + :meth:`clear` method. The :meth:`~Event.wait` method blocks until the flag is set to *true*. The flag is set to *false* initially. .. _asyncio_example_sync_event: @@ -135,7 +135,7 @@ Event Wait until the event is set. If the event is set, return ``True`` immediately. - Otherwise block until another task calls :meth:`set`. + Otherwise block until another task calls :meth:`~Event.set`. .. method:: set() @@ -148,8 +148,8 @@ Event Clear (unset) the event. - Tasks awaiting on :meth:`wait` will now block until the - :meth:`set` method is called again. + Tasks awaiting on :meth:`~Event.wait` will now block until the + :meth:`~Event.set` method is called again. .. method:: is_set() |