From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 17 Jan 2020 23:00:47 +0000 (-0800) Subject: Fix Lock.locked() to remove extra bold highlighting (GH-18042) (#18044) X-Git-Tag: v3.7.7rc1~88 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=504605576d6a79f1396c5cc633562f0ae64c70fa;p=thirdparty%2FPython%2Fcpython.git Fix Lock.locked() to remove extra bold highlighting (GH-18042) (#18044) (cherry picked from commit ef8844f1bcbea994a2a69b5a70309369d08b555c) Co-authored-by: Grant Jenks Co-authored-by: Grant Jenks --- diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst index 02af94eda6cc..6f56b220b19f 100644 --- a/Doc/library/threading.rst +++ b/Doc/library/threading.rst @@ -419,6 +419,7 @@ All methods are executed atomically. There is no return value. .. method:: locked() + Return true if the lock is acquired.