diff options
author | Brett Cannon <bcannon@gmail.com> | 2010-07-23 12:26:35 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2010-07-23 12:26:35 (GMT) |
commit | a57edd0e9e24adc8c45ecca2f6f9c14d8cebd9f4 (patch) | |
tree | afdde02fdc1a5085c1ec33b6feede04e094e3ffb /Doc | |
parent | c9e1c7d97f97a4aa18b984bb62dedaf6bb5aa251 (diff) | |
download | cpython-a57edd0e9e24adc8c45ecca2f6f9c14d8cebd9f4.zip cpython-a57edd0e9e24adc8c45ecca2f6f9c14d8cebd9f4.tar.gz cpython-a57edd0e9e24adc8c45ecca2f6f9c14d8cebd9f4.tar.bz2 |
Clarify the wording for threading.is_alive() to not suggest something is
"roughly" done.
Closes issue 9339. Thanks Brian Brazil for the patch.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/threading.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst index 31f1b0e..33cae1e 100644 --- a/Doc/library/threading.rst +++ b/Doc/library/threading.rst @@ -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 |