Set the name string for this thread. This method is deprecated, use the name attribute instead.
(self, name)
| 1237 | return self.name |
| 1238 | |
| 1239 | def setName(self, name): |
| 1240 | """Set the name string for this thread. |
| 1241 | |
| 1242 | This method is deprecated, use the name attribute instead. |
| 1243 | |
| 1244 | """ |
| 1245 | import warnings |
| 1246 | warnings.warn('setName() is deprecated, set the name attribute instead', |
| 1247 | DeprecationWarning, stacklevel=2) |
| 1248 | self.name = name |
| 1249 | |
| 1250 | |
| 1251 | try: |