Return the current Thread object, corresponding to the caller's thread of control. This function is deprecated, use current_thread() instead.
()
| 1480 | return _DummyThread() |
| 1481 | |
| 1482 | def currentThread(): |
| 1483 | """Return the current Thread object, corresponding to the caller's thread of control. |
| 1484 | |
| 1485 | This function is deprecated, use current_thread() instead. |
| 1486 | |
| 1487 | """ |
| 1488 | import warnings |
| 1489 | warnings.warn('currentThread() is deprecated, use current_thread() instead', |
| 1490 | DeprecationWarning, stacklevel=2) |
| 1491 | return current_thread() |
| 1492 | |
| 1493 | def active_count(): |
| 1494 | """Return the number of Thread objects currently alive. |
nothing calls this directly
no test coverage detected