diff Lib/threading_api.py @ 8883:f88f402417f2 legacy-trunk

The doc string for setDaemon() disagreed with the implementation. The implementation wins.
author Guido van Rossum <guido@python.org>
date Fri, 07 Aug 1998 19:15:20 +0000
parents 58d6815af002
children
line wrap: on
line diff
--- a/Lib/threading_api.py	Fri Aug 07 18:57:18 1998 +0000
+++ b/Lib/threading_api.py	Fri Aug 07 19:15:20 1998 +0000
@@ -590,8 +590,8 @@
     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.