Commit fee3fc74 authored by Sandro Tosi's avatar Sandro Tosi

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

parent 1024541a
...@@ -430,7 +430,7 @@ All methods are executed atomically. ...@@ -430,7 +430,7 @@ All methods are executed atomically.
are blocked waiting for the lock to become unlocked, allow exactly one of them are blocked waiting for the lock to become unlocked, allow exactly one of them
to proceed. 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. There is no return value.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment