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
c9e1c7d97f
commit
a57edd0e9e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue