From: idomic Date: Sun, 1 Dec 2019 20:07:39 +0000 (-0500) Subject: document threading.Lock.locked() (GH-17427) X-Git-Tag: v3.9.0a2~97 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fdafa1d0ed0a8930b52ee81e57c931cc4d5c2388;p=thirdparty%2FPython%2Fcpython.git document threading.Lock.locked() (GH-17427) --- diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst index 9a68491fbd53..96989bdd525e 100644 --- a/Doc/library/threading.rst +++ b/Doc/library/threading.rst @@ -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: