Return the current Thread object, corresponding to the caller's thread of control. This function is deprecated, use current_thread() instead.
()
| 1473 | return _DummyThread() |
| 1474 | |
| 1475 | def currentThread(): |
| 1476 | """Return the current Thread object, corresponding to the caller's thread of control. |
| 1477 | |
| 1478 | This function is deprecated, use current_thread() instead. |
| 1479 | |
| 1480 | """ |
| 1481 | import warnings |
| 1482 | warnings.warn('currentThread() is deprecated, use current_thread() instead', |
| 1483 | DeprecationWarning, stacklevel=2) |
| 1484 | return current_thread() |
| 1485 | |
| 1486 | def active_count(): |
| 1487 | """Return the number of Thread objects currently alive. |
nothing calls this directly
no test coverage detected
searching dependent graphs…