MCPcopy Index your code
hub / github.com/python/cpython / _enumerate

Function _enumerate

Lib/threading.py:1509–1511  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1507 return active_count()
1508
1509def _enumerate():
1510 # Same as enumerate(), but without the lock. Internal use only.
1511 return list(_active.values()) + list(_limbo.values())
1512
1513def enumerate():
1514 """Return a list of all Thread objects currently alive.

Callers 1

_after_forkFunction · 0.85

Calls 2

listClass · 0.85
valuesMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…