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

(cherry picked from commit fdafa1d0ed)

Co-authored-by: idomic <michael.ido@gmail.com>
This commit is contained in:
Miss Islington (bot) 2019-12-01 12:12:09 -08:00 committed by GitHub
parent e649903303
commit 864207181d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -448,6 +448,10 @@ All methods are executed atomically.
There is no return value.
.. method:: locked()
Return true if the lock is acquired.
.. _rlock-objects: