Commit 4b521697 authored by Guido van Rossum's avatar Guido van Rossum

The doc string for setDaemon() disagreed with the implementation. The

implementation wins.
parent f4324315
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment