summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSandro Tosi <sandro.tosi@gmail.com>2012-04-05 20:51:54 (GMT)
committerSandro Tosi <sandro.tosi@gmail.com>2012-04-05 20:51:54 (GMT)
commitfee3fc748e4c6e00cdd44c079e54cacef00690cf (patch)
treebfd46d52426a1eebf368825bfd0c75f9e94bd073 /Doc
parent1024541a0dbc1a007ba15ff7ae9a7154bf08a816 (diff)
downloadcpython-fee3fc748e4c6e00cdd44c079e54cacef00690cf.zip
cpython-fee3fc748e4c6e00cdd44c079e54cacef00690cf.tar.gz
cpython-fee3fc748e4c6e00cdd44c079e54cacef00690cf.tar.bz2
Issue #14502: release() and unlocked lock generates a ThreadError
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/threading.rst2
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.