Commit 3d250983 authored by Brett Cannon's avatar Brett Cannon

Clarify the wording for threading.is_alive() to not suggest something is

"roughly" done.

Closes issue 9339. Thanks Brian Brazil for the patch.
parent 132601dc
...@@ -310,8 +310,8 @@ impossible to detect the termination of alien threads. ...@@ -310,8 +310,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.
.. attribute:: daemon .. attribute:: daemon
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment