Return whether this thread is a daemon. This method is deprecated, use the daemon attribute instead.
(self)
| 1211 | self._daemonic = daemonic |
| 1212 | |
| 1213 | def isDaemon(self): |
| 1214 | """Return whether this thread is a daemon. |
| 1215 | |
| 1216 | This method is deprecated, use the daemon attribute instead. |
| 1217 | |
| 1218 | """ |
| 1219 | import warnings |
| 1220 | warnings.warn('isDaemon() is deprecated, get the daemon attribute instead', |
| 1221 | DeprecationWarning, stacklevel=2) |
| 1222 | return self.daemon |
| 1223 | |
| 1224 | def setDaemon(self, daemonic): |
| 1225 | """Set whether this thread is a daemon. |