mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
The doc string for setDaemon() disagreed with the implementation. The
implementation wins.
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user