mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
The doc string for setDaemon() disagreed with the implementation. The
implementation wins.
This commit is contained in:
parent
66da9d69fc
commit
449fdf1d76
1 changed files with 2 additions and 2 deletions
|
@ -590,8 +590,8 @@ class Thread:
|
|||
def isDaemon(self):
|
||||
"""Return the thread's daemon flag."""
|
||||
|
||||
def setDaemon(self):
|
||||
"""Set the thread's daemon flag.
|
||||
def setDaemon(self, daemonic):
|
||||
"""Set the thread's daemon flag (a Boolean).
|
||||
|
||||
This must be called before start() is called.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue