commit | ceeb47d0c33b6875e253517140142a4d7f056790 | [log] [tgz] |
---|---|---|
author | Sandro Tosi <sandro.tosi@gmail.com> | Thu Apr 05 22:51:00 2012 +0200 |
committer | Sandro Tosi <sandro.tosi@gmail.com> | Thu Apr 05 22:51:00 2012 +0200 |
tree | c634d1b70cc85f3479d04f0034eedc75758b7431 | |
parent | 02a380105d4cd31219d2dc468f277688973ec2bd [diff] |
Issue #14502: release() and unlocked lock generates a ThreadError
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst index 28a3f81..89434b6 100644 --- a/Doc/library/threading.rst +++ b/Doc/library/threading.rst
@@ -420,7 +420,7 @@ 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.