mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
bpo-25821: Fix inaccuracy in threading.enumerate/is_alive documentation (GH-23192) (#26036)
(cherry picked from commit 12e7d10dfd)
Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
This commit is contained in:
parent
1d8c18019d
commit
bde14f7fbd
2 changed files with 7 additions and 6 deletions
|
|
@ -1094,8 +1094,8 @@ def is_alive(self):
|
|||
"""Return whether the thread is alive.
|
||||
|
||||
This method returns True just before the run() method starts until just
|
||||
after the run() method terminates. The module function enumerate()
|
||||
returns a list of all alive threads.
|
||||
after the run() method terminates. See also the module function
|
||||
enumerate().
|
||||
|
||||
"""
|
||||
assert self._initialized, "Thread.__init__() not called"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue