From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 17 Jan 2020 23:02:06 +0000 (-0800) Subject: Fix Lock.locked() to remove extra bold highlighting (GH-18042) (#18043) X-Git-Tag: v3.8.2rc1~67 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=34ece35a0d52f0c332b2c0d55b567daa7bcad9eb;p=thirdparty%2FPython%2Fcpython.git Fix Lock.locked() to remove extra bold highlighting (GH-18042) (#18043) (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 93ea4bda7cd7..f4b58d3d3aeb 100644 --- a/Doc/library/threading.rst +++ b/Doc/library/threading.rst @@ -489,6 +489,7 @@ All methods are executed atomically. There is no return value. .. method:: locked() + Return true if the lock is acquired.