]> granicus.if.org Git - python/commitdiff
Merged revisions 83080 via svnmerge from
authorBrett Cannon <bcannon@gmail.com>
Fri, 23 Jul 2010 12:30:10 +0000 (12:30 +0000)
committerBrett Cannon <bcannon@gmail.com>
Fri, 23 Jul 2010 12:30:10 +0000 (12:30 +0000)
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83080 | brett.cannon | 2010-07-23 13:26:35 +0100 (Fri, 23 Jul 2010) | 5 lines

  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

index a0a1fdde0a048299b4b379fae6363f525e595424..f18c959b118d3381c1d6cb78bbaaec1ce27940be 100644 (file)
@@ -319,8 +319,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.
 
    .. method:: isDaemon()