mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
document threading.Lock.locked() (GH-17427)
This commit is contained in:
parent
575d0b46d1
commit
fdafa1d0ed
1 changed files with 4 additions and 0 deletions
|
@ -496,6 +496,10 @@ All methods are executed atomically.
|
|||
|
||||
There is no return value.
|
||||
|
||||
.. method:: locked()
|
||||
Return true if the lock is acquired.
|
||||
|
||||
|
||||
|
||||
.. _rlock-objects:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue