diff options
author | Sandro Tosi <sandro.tosi@gmail.com> | 2012-04-05 20:51:00 (GMT) |
---|---|---|
committer | Sandro Tosi <sandro.tosi@gmail.com> | 2012-04-05 20:51:00 (GMT) |
commit | ceeb47d0c33b6875e253517140142a4d7f056790 (patch) | |
tree | c634d1b70cc85f3479d04f0034eedc75758b7431 | |
parent | 02a380105d4cd31219d2dc468f277688973ec2bd (diff) | |
download | cpython-ceeb47d0c33b6875e253517140142a4d7f056790.zip cpython-ceeb47d0c33b6875e253517140142a4d7f056790.tar.gz cpython-ceeb47d0c33b6875e253517140142a4d7f056790.tar.bz2 |
Issue #14502: release() and unlocked lock generates a ThreadError
-rw-r--r-- | Doc/library/threading.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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. |