summaryrefslogtreecommitdiffstats
path: root/Lib/threading.py
diff options
context:
space:
mode:
authorIrit Katriel <iritkatriel@yahoo.com>2021-05-11 17:55:24 (GMT)
committerGitHub <noreply@github.com>2021-05-11 17:55:24 (GMT)
commit12e7d10dfd28d4e26304e2c06b2e41c7418ec6f3 (patch)
treee216cb66f21e588d4cf9c68d1bd5286e8964a369 /Lib/threading.py
parentb05955d6f5f149523b5855a335444b7c6324bdb7 (diff)
downloadcpython-12e7d10dfd28d4e26304e2c06b2e41c7418ec6f3.zip
cpython-12e7d10dfd28d4e26304e2c06b2e41c7418ec6f3.tar.gz
cpython-12e7d10dfd28d4e26304e2c06b2e41c7418ec6f3.tar.bz2
bpo-25821: Fix inaccuracy in threading.enumerate/is_alive documentation (#23192)
Diffstat (limited to 'Lib/threading.py')
-rw-r--r--Lib/threading.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/threading.py b/Lib/threading.py
index 4dcf847..fb70abd 100644
--- a/Lib/threading.py
+++ b/Lib/threading.py
@@ -1130,8 +1130,8 @@ class Thread:
"""Return whether the thread is alive.
This method returns True just before the run() method starts until just
- after the run() method terminates. The module function enumerate()
- returns a list of all alive threads.
+ after the run() method terminates. See also the module function
+ enumerate().
"""
assert self._initialized, "Thread.__init__() not called"