From fee3fc748e4c6e00cdd44c079e54cacef00690cf Mon Sep 17 00:00:00 2001 From: Sandro Tosi Date: Thu, 5 Apr 2012 22:51:54 +0200 Subject: Issue #14502: release() and unlocked lock generates a ThreadError --- Doc/library/threading.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst index 9b3affd..0738e22 100644 --- a/Doc/library/threading.rst +++ b/Doc/library/threading.rst @@ -430,7 +430,7 @@ All methods are executed atomically. are blocked waiting for the lock to become unlocked, allow exactly one of them to proceed. - Do not call this method when the lock is unlocked. + When invoked on an unlocked lock, a :exc:`ThreadError` is raised. There is no return value. -- cgit v0.12