mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Issue #14502: release() and unlocked lock generates a ThreadError
This commit is contained in:
parent
1024541a0d
commit
fee3fc748e
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue