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:
Brett Cannon 2010-07-23 12:26:35 +00:00
parent c9e1c7d97f
commit a57edd0e9e
1 changed files with 2 additions and 2 deletions

View 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