diff options
author | Sandro Tosi <sandro.tosi@gmail.com> | 2012-04-05 20:51:54 (GMT) |
---|---|---|
committer | Sandro Tosi <sandro.tosi@gmail.com> | 2012-04-05 20:51:54 (GMT) |
commit | fee3fc748e4c6e00cdd44c079e54cacef00690cf (patch) | |
tree | bfd46d52426a1eebf368825bfd0c75f9e94bd073 /Doc/library | |
parent | 1024541a0dbc1a007ba15ff7ae9a7154bf08a816 (diff) | |
download | cpython-fee3fc748e4c6e00cdd44c079e54cacef00690cf.zip cpython-fee3fc748e4c6e00cdd44c079e54cacef00690cf.tar.gz cpython-fee3fc748e4c6e00cdd44c079e54cacef00690cf.tar.bz2 |
Issue #14502: release() and unlocked lock generates a ThreadError
Diffstat (limited to 'Doc/library')
-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 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. |