Set whether this thread is a daemon. This method is deprecated, use the .daemon property instead.
(self, daemonic)
| 1215 | return self.daemon |
| 1216 | |
| 1217 | def setDaemon(self, daemonic): |
| 1218 | """Set whether this thread is a daemon. |
| 1219 | |
| 1220 | This method is deprecated, use the .daemon property instead. |
| 1221 | |
| 1222 | """ |
| 1223 | import warnings |
| 1224 | warnings.warn('setDaemon() is deprecated, set the daemon attribute instead', |
| 1225 | DeprecationWarning, stacklevel=2) |
| 1226 | self.daemon = daemonic |
| 1227 | |
| 1228 | def getName(self): |
| 1229 | """Return a string used for identification purposes only. |