]> granicus.if.org Git - python/commitdiff
#5757: fix copy-paste error in notify().
authorGeorg Brandl <georg@python.org>
Tue, 21 Apr 2009 18:23:08 +0000 (18:23 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 21 Apr 2009 18:23:08 +0000 (18:23 +0000)
Doc/library/threading.rst

index efd0cff7c34ae4b3a4b325fc00e97f83bf326508..d8af15726bd6c73cdb86efbbec101836ac295f43 100644 (file)
@@ -555,12 +555,12 @@ needs to wake up one consumer thread.
 
 .. method:: Condition.notify()
 
-   Wake up a thread waiting on this condition, if any. Wait until notified or until
-   a timeout occurs. If the calling thread has not acquired the lock when this
-   method is called, a :exc:`RuntimeError` is raised.
+   Wake up a thread waiting on this condition, if any.  If the calling thread
+   has not acquired the lock when this method is called, a :exc:`RuntimeError`
+   is raised.
 
-   This method wakes up one of the threads waiting for the condition variable, if
-   any are waiting; it is a no-op if no threads are waiting.
+   This method wakes up one of the threads waiting for the condition variable,
+   if any are waiting; it is a no-op if no threads are waiting.
 
    The current implementation wakes up exactly one thread, if any are waiting.
    However, it's not safe to rely on this behavior.  A future, optimized