Merged revisions 83080 via svnmerge from
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. ........
This commit is contained in:
parent
21b44e0ea2
commit
11a3061096
|
@ -319,8 +319,8 @@ impossible to detect the termination of alien threads.
|
||||||
|
|
||||||
Return whether the thread is alive.
|
Return whether the thread is alive.
|
||||||
|
|
||||||
Roughly, a thread is alive from the moment the :meth:`start` method
|
This method returns ``True`` just before the :meth:`run` method starts
|
||||||
returns until its :meth:`run` method terminates. The module function
|
until just after the :meth:`run` method terminates. The module function
|
||||||
:func:`.enumerate` returns a list of all alive threads.
|
:func:`.enumerate` returns a list of all alive threads.
|
||||||
|
|
||||||
.. method:: isDaemon()
|
.. method:: isDaemon()
|
||||||
|
|
Loading…
Reference in New Issue