[Python-checkins] cpython (3.2): Issue #14502: release() and unlocked lock generates a ThreadError

sandro.tosi python-checkins at python.org
Thu Apr 5 23:01:58 CEST 2012


http://hg.python.org/cpython/rev/acea9d95a6d8
changeset: 76130:acea9d95a6d8
branch: 3.2
parent: 76118:f2dfe0ca6c21
user: Sandro Tosi <sandro.tosi at gmail.com>
date: Thu Apr 05 22:51:54 2012 +0200
summary:
 Issue #14502: release() and unlocked lock generates a ThreadError
files:
 Doc/library/threading.rst | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst
--- 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.
 
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /