summaryrefslogtreecommitdiffstats
path: root/Doc/library/_thread.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/_thread.rst')
-rw-r--r--Doc/library/_thread.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/_thread.rst b/Doc/library/_thread.rst
index 3842539..81f0cac 100644
--- a/Doc/library/_thread.rst
+++ b/Doc/library/_thread.rst
@@ -169,14 +169,14 @@ Lock objects have the following methods:
time can acquire a lock --- that's their reason for existence).
If the *blocking* argument is present, the action depends on its
- value: if it is False, the lock is only acquired if it can be acquired
- immediately without waiting, while if it is True, the lock is acquired
+ value: if it is false, the lock is only acquired if it can be acquired
+ immediately without waiting, while if it is true, the lock is acquired
unconditionally as above.
If the floating-point *timeout* argument is present and positive, it
specifies the maximum wait time in seconds before returning. A negative
*timeout* argument specifies an unbounded wait. You cannot specify
- a *timeout* if *blocking* is False.
+ a *timeout* if *blocking* is false.
The return value is ``True`` if the lock is acquired successfully,
``False`` if not.