Return the current Thread object, corresponding to the caller's thread of control. This function is deprecated, use current_thread() instead.
()
| 1463 | return _DummyThread() |
| 1464 | |
| 1465 | def currentThread(): |
| 1466 | """Return the current Thread object, corresponding to the caller's thread of control. |
| 1467 | |
| 1468 | This function is deprecated, use current_thread() instead. |
| 1469 | |
| 1470 | """ |
| 1471 | import warnings |
| 1472 | warnings.warn('currentThread() is deprecated, use current_thread() instead', |
| 1473 | DeprecationWarning, stacklevel=2) |
| 1474 | return current_thread() |
| 1475 | |
| 1476 | def active_count(): |
| 1477 | """Return the number of Thread objects currently alive. |
nothing calls this directly
no test coverage detected