summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/threading.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst
index 9a68491..96989bd 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: