Commit ce543566 authored by Georg Brandl's avatar Georg Brandl

#5757: fix copy-paste error in notify().

parent 95fb46c9
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment