Set whether this thread is a daemon. This method is deprecated, use the .daemon property instead.
(self, daemonic)
| 1222 | return self.daemon |
| 1223 | |
| 1224 | def setDaemon(self, daemonic): |
| 1225 | """Set whether this thread is a daemon. |
| 1226 | |
| 1227 | This method is deprecated, use the .daemon property instead. |
| 1228 | |
| 1229 | """ |
| 1230 | import warnings |
| 1231 | warnings.warn('setDaemon() is deprecated, set the daemon attribute instead', |
| 1232 | DeprecationWarning, stacklevel=2) |
| 1233 | self.daemon = daemonic |
| 1234 | |
| 1235 | def getName(self): |
| 1236 | """Return a string used for identification purposes only. |