Message info
 
To:python-checkins@python.org From:sandro.tosi Subject:[Python-checkins] cpython (3.2): Issue #14502: release() and unlocked lock generates a ThreadError Date:Thu, 05 Apr 2012 23:01:58 +0200
 

http://hg.python.org/cpython/rev/acea9d95a6d8
changeset: 76130:acea9d95a6d8
branch: 3.2
parent: 76118:f2dfe0ca6c21
user: Sandro Tosi <sandro.tosi@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