[Python-checkins] cpython (2.7): Issue #24443: Fix links for Event.clear() and Event.wait() methods.

berker.peksag python-checkins at python.org
Sat Jun 13 10:05:30 CEST 2015


https://hg.python.org/cpython/rev/a985b6455fde
changeset:   96597:a985b6455fde
branch:      2.7
parent:      96593:5cfc4b8edf52
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Sat Jun 13 11:05:31 2015 +0300
summary:
  Issue #24443: Fix links for Event.clear() and Event.wait() methods.

Patch by Jaivish Kothari.

files:
  Doc/library/threading.rst |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst
--- a/Doc/library/threading.rst
+++ b/Doc/library/threading.rst
@@ -710,8 +710,8 @@
 thread signals an event and other threads wait for it.
 
 An event object manages an internal flag that can be set to true with the
-:meth:`~Event.set` method and reset to false with the :meth:`clear` method.  The
-:meth:`wait` method blocks until the flag is true.
+:meth:`~Event.set` method and reset to false with the :meth:`~Event.clear`
+method.  The :meth:`~Event.wait` method blocks until the flag is true.
 
 
 .. class:: Event()

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list