]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #14502: merge with 3.2
authorSandro Tosi <sandro.tosi@gmail.com>
Thu, 5 Apr 2012 20:53:21 +0000 (22:53 +0200)
committerSandro Tosi <sandro.tosi@gmail.com>
Thu, 5 Apr 2012 20:53:21 +0000 (22:53 +0200)
Doc/library/threading.rst

index 7527bc5e862a4093c312e3a0a21666c08b9a705d..d2727319dca74b11a6fefb7a673a2ed41005000e 100644 (file)
@@ -452,7 +452,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:`RuntimeError` is raised.
 
    There is no return value.