]> granicus.if.org Git - python/commitdiff
The doc string for setDaemon() disagreed with the implementation. The
authorGuido van Rossum <guido@python.org>
Fri, 7 Aug 1998 19:15:20 +0000 (19:15 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 7 Aug 1998 19:15:20 +0000 (19:15 +0000)
implementation wins.

Lib/threading_api.py

index 285cee104d0232c727cddb8063964a117953d77d..ff97b8f042fd5582de14f4743ae108bbf4e4724d 100644 (file)
@@ -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.