From: Brett Cannon Date: Fri, 23 Jul 2010 12:26:35 +0000 (+0000) Subject: Clarify the wording for threading.is_alive() to not suggest something is X-Git-Tag: v3.2a1~138 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a57edd0e9e24adc8c45ecca2f6f9c14d8cebd9f4;p=thirdparty%2FPython%2Fcpython.git Clarify the wording for threading.is_alive() to not suggest something is "roughly" done. Closes issue 9339. Thanks Brian Brazil for the patch. --- diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst index 31f1b0e878f2..33cae1ee25a9 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