diff --git a/Doc/library/asyncio-sync.rst b/Doc/library/asyncio-sync.rst index 84a52cb2d575710..c66e0d32ee54cea 100644 --- a/Doc/library/asyncio-sync.rst +++ b/Doc/library/asyncio-sync.rst @@ -105,7 +105,7 @@ Event 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 + :meth:`clear` method. The :meth:`~asyncio.Event.wait` method blocks until the flag is set to *true*. The flag is set to *false* initially. @@ -155,7 +155,7 @@ Event Clear (unset) the event. - Tasks awaiting on :meth:`wait` will now block until the + Tasks awaiting on :meth:`~asyncio.Event.wait` will now block until the :meth:`set` method is called again. .. method:: is_set() diff --git a/Misc/NEWS.d/next/Documentation/2020-08-31-14-16-53.bpo-41676.rIExhG.rst b/Misc/NEWS.d/next/Documentation/2020-08-31-14-16-53.bpo-41676.rIExhG.rst new file mode 100644 index 000000000000000..caf65a9ecf7642f --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2020-08-31-14-16-53.bpo-41676.rIExhG.rst @@ -0,0 +1 @@ +fix links to `asyncio.Event.wait` \ No newline at end of file