Issue #14502: release() and unlocked lock generates a ThreadError

This commit is contained in:
Sandro Tosi 2012-04-05 22:51:54 +02:00
parent 1024541a0d
commit fee3fc748e

View file

@ -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.