Skip to content

Commit d90ff37

Browse files
authored
BPO-42703: Fix incorrect documentation links for asyncio.Event (GH-23881)
1 parent 6d9ec8b commit d90ff37

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
@@ -101,8 +101,8 @@ Event
101101
that some event has happened.
102102

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

108108
.. _asyncio_example_sync_event:
@@ -135,7 +135,7 @@ Event
135135
Wait until the event is set.
136136

137137
If the event is set, return ``True`` immediately.
138-
Otherwise block until another task calls :meth:`set`.
138+
Otherwise block until another task calls :meth:`~Event.set`.
139139

140140
.. method:: set()
141141

@@ -148,8 +148,8 @@ Event
148148

149149
Clear (unset) the event.
150150

151-
Tasks awaiting on :meth:`wait` will now block until the
152-
:meth:`set` method is called again.
151+
Tasks awaiting on :meth:`~Event.wait` will now block until the
152+
:meth:`~Event.set` method is called again.
153153

154154
.. method:: is_set()
155155

0 commit comments

Comments
 (0)