commit | fee3fc748e4c6e00cdd44c079e54cacef00690cf | [log] [tgz] |
---|---|---|
author | Sandro Tosi <sandro.tosi@gmail.com> | Thu Apr 05 22:51:54 2012 +0200 |
committer | Sandro Tosi <sandro.tosi@gmail.com> | Thu Apr 05 22:51:54 2012 +0200 |
tree | bfd46d52426a1eebf368825bfd0c75f9e94bd073 | |
parent | 1024541a0dbc1a007ba15ff7ae9a7154bf08a816 [diff] [blame] |
Issue #14502: release() and unlocked lock generates a ThreadError
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 @@ 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.