From bb5c8bde23a1f412f4d360154ef438ee815f8f3f Mon Sep 17 00:00:00 2001 From: "A. Jesse Jiryu Davis" Date: Sat, 28 Mar 2015 06:02:32 -0400 Subject: [PATCH] Clarify event.wait's blocking behavior. --- docs/locks.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/locks.rst b/docs/locks.rst index 3dbed192b..c9fd275c3 100644 --- a/docs/locks.rst +++ b/docs/locks.rst @@ -76,8 +76,8 @@ multithreaded app.)* .. autoclass:: Event :members: - A coroutine can wait for an event to be set. Once it is set, the coroutine - does not block on `wait` until the the event is unset again: + A coroutine can wait for an event to be set. Once it is set, calls to + ``yield event.wait()`` will not block unless the event has been cleared: .. testcode:: -- 2.47.2