]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix Lock.locked() to remove extra bold highlighting (GH-18042) (#18044)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 17 Jan 2020 23:00:47 +0000 (15:00 -0800)
committerBarry Warsaw <barry@python.org>
Fri, 17 Jan 2020 23:00:47 +0000 (15:00 -0800)
(cherry picked from commit ef8844f1bcbea994a2a69b5a70309369d08b555c)

Co-authored-by: Grant Jenks <grant.jenks@gmail.com>
Co-authored-by: Grant Jenks <grant.jenks@gmail.com>
Doc/library/threading.rst

index 02af94eda6cc9e2c19fe59d18a890bd2eb758a78..6f56b220b19f78a6bbb3437a70dfc24cf1b15142 100644 (file)
@@ -419,6 +419,7 @@ All methods are executed atomically.
       There is no return value.
 
    .. method:: locked()
+
       Return true if the lock is acquired.