[Python-checkins] BPO-42703: Fix incorrect documentation links for asyncio.Event (GH-23881)

miss-islington webhook-mailer at python.org
Wed Dec 23 06:14:17 EST 2020


https://github.com/python/cpython/commit/1e1bacf9e61143e7b0f78de9dcb578983bea8f81
commit: 1e1bacf9e61143e7b0f78de9dcb578983bea8f81
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2020-12-23T03:13:51-08:00
summary:

BPO-42703: Fix incorrect documentation links for asyncio.Event (GH-23881)

(cherry picked from commit d90ff376813843310a6f9ccc96551fa1521e8fef)

Co-authored-by: Matt Fowler <matt.fow at gmail.com>

files:
M Doc/library/asyncio-sync.rst

diff --git a/Doc/library/asyncio-sync.rst b/Doc/library/asyncio-sync.rst
index 84a52cb2d5757..f62ce670fccbf 100644
--- a/Doc/library/asyncio-sync.rst
+++ b/Doc/library/asyncio-sync.rst
@@ -104,8 +104,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.
 
 
@@ -142,7 +142,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()
 
@@ -155,8 +155,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()
 



More information about the Python-checkins mailing list