mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Issue #14502: release() and unlocked lock generates a ThreadError
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user