[Python-checkins] r83080 - python/branches/py3k/Doc/library/threading.rst

brett.cannon python-checkins at python.org
Fri Jul 23 14:26:35 CEST 2010


Author: brett.cannon
Date: Fri Jul 23 14:26:35 2010
New Revision: 83080

Log:
Clarify the wording for threading.is_alive() to not suggest something is
"roughly" done.

Closes issue 9339. Thanks Brian Brazil for the patch.


Modified:
   python/branches/py3k/Doc/library/threading.rst

Modified: python/branches/py3k/Doc/library/threading.rst
==============================================================================
--- python/branches/py3k/Doc/library/threading.rst	(original)
+++ python/branches/py3k/Doc/library/threading.rst	Fri Jul 23 14:26:35 2010
@@ -310,8 +310,8 @@
 
       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


More information about the Python-checkins mailing list