From: Guido van Rossum Date: Fri, 7 Aug 1998 19:15:20 +0000 (+0000) Subject: The doc string for setDaemon() disagreed with the implementation. The X-Git-Tag: v1.5.2a1~90 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=449fdf1d76b3d6108ac16ea648ef9bb1492274ee;p=thirdparty%2FPython%2Fcpython.git The doc string for setDaemon() disagreed with the implementation. The implementation wins. --- diff --git a/Lib/threading_api.py b/Lib/threading_api.py index 285cee104d02..ff97b8f042fd 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.