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: ...@@ -590,8 +590,8 @@ class Thread:
def isDaemon(self): def isDaemon(self):
"""Return the thread's daemon flag.""" """Return the thread's daemon flag."""
def setDaemon(self): def setDaemon(self, daemonic):
"""Set the thread's daemon flag. """Set the thread's daemon flag (a Boolean).
This must be called before start() is called. 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