Clarify the wording for threading.is_alive() to not suggest something is
authorBrett Cannon <bcannon@gmail.com>
Fri, 23 Jul 2010 12:26:35 +0000 (12:26 +0000)
committerBrett Cannon <bcannon@gmail.com>
Fri, 23 Jul 2010 12:26:35 +0000 (12:26 +0000)
"roughly" done.

Closes issue 9339. Thanks Brian Brazil for the patch.

Doc/library/threading.rst

index 31f1b0e878f2ded4c3830374a5527bf49709af7e..33cae1ee25a93fc57ecc84379d8cde128fc5b272 100644 (file)
@@ -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