diff --git a/Lib/threading_api.py b/Lib/threading_api.py index 285cee104d0..ff97b8f042f 100644 --- a/Lib/threading_api.py +++ b/Lib/threading_api.py @@ -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.