Return a string used for identification purposes only. This method is deprecated, use the name attribute instead.
(self)
| 1226 | self.daemon = daemonic |
| 1227 | |
| 1228 | def getName(self): |
| 1229 | """Return a string used for identification purposes only. |
| 1230 | |
| 1231 | This method is deprecated, use the name attribute instead. |
| 1232 | |
| 1233 | """ |
| 1234 | import warnings |
| 1235 | warnings.warn('getName() is deprecated, get the name attribute instead', |
| 1236 | DeprecationWarning, stacklevel=2) |
| 1237 | return self.name |
| 1238 | |
| 1239 | def setName(self, name): |
| 1240 | """Set the name string for this thread. |