summaryrefslogtreecommitdiffstats
path: root/Lib/threading.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-07-19 09:13:08 (GMT)
committerGitHub <noreply@github.com>2024-07-19 09:13:08 (GMT)
commita45d9051ed8488b169cbcb12b036120c0e853b9c (patch)
tree7d442b10ef935a9985059da5691241f965592447 /Lib/threading.py
parent225cbee8d8ced55c2edb16f9cdc73cd05bf0f67b (diff)
downloadcpython-a45d9051ed8488b169cbcb12b036120c0e853b9c.zip
cpython-a45d9051ed8488b169cbcb12b036120c0e853b9c.tar.gz
cpython-a45d9051ed8488b169cbcb12b036120c0e853b9c.tar.bz2
[3.13] gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) (GH-122012)
(cherry picked from commit 1a0c7b9ba48a2dffb70bb0c7327abae1d3e87356)
Diffstat (limited to 'Lib/threading.py')
-rw-r--r--Lib/threading.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/threading.py b/Lib/threading.py
index 31ab77c..2dcdd0c 100644
--- a/Lib/threading.py
+++ b/Lib/threading.py
@@ -336,7 +336,7 @@ class Condition:
awakened or timed out, it re-acquires the lock and returns.
When the timeout argument is present and not None, it should be a
- floating point number specifying a timeout for the operation in seconds
+ floating-point number specifying a timeout for the operation in seconds
(or fractions thereof).
When the underlying lock is an RLock, it is not released using its
@@ -646,7 +646,7 @@ class Event:
the optional timeout occurs.
When the timeout argument is present and not None, it should be a
- floating point number specifying a timeout for the operation in seconds
+ floating-point number specifying a timeout for the operation in seconds
(or fractions thereof).
This method returns the internal flag on exit, so it will always return
@@ -1059,7 +1059,7 @@ class Thread:
or until the optional timeout occurs.
When the timeout argument is present and not None, it should be a
- floating point number specifying a timeout for the operation in seconds
+ floating-point number specifying a timeout for the operation in seconds
(or fractions thereof). As join() always returns None, you must call
is_alive() after join() to decide whether a timeout happened -- if the
thread is still alive, the join() call timed out.