diff options
author | Guido van Rossum <guido@python.org> | 1998-08-07 19:15:20 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-08-07 19:15:20 (GMT) |
commit | 449fdf1d76b3d6108ac16ea648ef9bb1492274ee (patch) | |
tree | 615c1a62502c532b8befc4b2c8a96b7f6d7b65a1 /Lib | |
parent | 66da9d69fcf22d909291521ed707589ef3248cbe (diff) | |
download | cpython-449fdf1d76b3d6108ac16ea648ef9bb1492274ee.zip cpython-449fdf1d76b3d6108ac16ea648ef9bb1492274ee.tar.gz cpython-449fdf1d76b3d6108ac16ea648ef9bb1492274ee.tar.bz2 |
The doc string for setDaemon() disagreed with the implementation. The
implementation wins.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/threading_api.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/threading_api.py b/Lib/threading_api.py index 285cee1..ff97b8f 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. |