From a57edd0e9e24adc8c45ecca2f6f9c14d8cebd9f4 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Fri, 23 Jul 2010 12:26:35 +0000 Subject: Clarify the wording for threading.is_alive() to not suggest something is "roughly" done. Closes issue 9339. Thanks Brian Brazil for the patch. --- Doc/library/threading.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst index 31f1b0e..33cae1e 100644 --- a/Doc/library/threading.rst +++ b/Doc/library/threading.rst @@ -310,8 +310,8 @@ impossible to detect the termination of alien threads. Return whether the thread is alive. - Roughly, a thread is alive from the moment the :meth:`start` method - returns until its :meth:`run` method terminates. The module function + This method returns ``True`` just before the :meth:`run` method starts + until just after the :meth:`run` method terminates. The module function :func:`.enumerate` returns a list of all alive threads. .. attribute:: daemon -- cgit v0.12