document threading.Lock.locked() (GH-17427)

This commit is contained in:
idomic 2019-12-01 15:07:39 -05:00 committed by Tal Einat
parent 575d0b46d1
commit fdafa1d0ed
1 changed files with 4 additions and 0 deletions

View File

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