Return whether this thread is a daemon. This method is deprecated, use the daemon attribute instead.
(self)
| 1204 | self._daemonic = daemonic |
| 1205 | |
| 1206 | def isDaemon(self): |
| 1207 | """Return whether this thread is a daemon. |
| 1208 | |
| 1209 | This method is deprecated, use the daemon attribute instead. |
| 1210 | |
| 1211 | """ |
| 1212 | import warnings |
| 1213 | warnings.warn('isDaemon() is deprecated, get the daemon attribute instead', |
| 1214 | DeprecationWarning, stacklevel=2) |
| 1215 | return self.daemon |
| 1216 | |
| 1217 | def setDaemon(self, daemonic): |
| 1218 | """Set whether this thread is a daemon. |