Skip to content

Commit 1e1bacf

Browse files
BPO-42703: Fix incorrect documentation links for asyncio.Event (GH-23881)
(cherry picked from commit d90ff37) Co-authored-by: Matt Fowler <[email protected]>
1 parent 7fe7d83 commit 1e1bacf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Doc/library/asyncio-sync.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ Event
104104
that some event has happened.
105105

106106
An Event object manages an internal flag that can be set to *true*
107-
with the :meth:`set` method and reset to *false* with the
108-
:meth:`clear` method. The :meth:`wait` method blocks until the
107+
with the :meth:`~Event.set` method and reset to *false* with the
108+
:meth:`clear` method. The :meth:`~Event.wait` method blocks until the
109109
flag is set to *true*. The flag is set to *false* initially.
110110

111111

@@ -142,7 +142,7 @@ Event
142142
Wait until the event is set.
143143

144144
If the event is set, return ``True`` immediately.
145-
Otherwise block until another task calls :meth:`set`.
145+
Otherwise block until another task calls :meth:`~Event.set`.
146146

147147
.. method:: set()
148148

@@ -155,8 +155,8 @@ Event
155155

156156
Clear (unset) the event.
157157

158-
Tasks awaiting on :meth:`wait` will now block until the
159-
:meth:`set` method is called again.
158+
Tasks awaiting on :meth:`~Event.wait` will now block until the
159+
:meth:`~Event.set` method is called again.
160160

161161
.. method:: is_set()
162162

0 commit comments

Comments
 (0)