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

Function find_ready_matching

Lib/test/test_selectors.py:47–52  ·  view source on GitHub ↗
(ready, flag)

Source from the content-addressed store, hash-verified

45
46
47def find_ready_matching(ready, flag):
48 match = []
49 for key, events in ready:
50 if events & flag:
51 match.append(key.fileobj)
52 return match
53
54
55class BaseSelectorTestCase:

Callers 1

test_selectorMethod · 0.70

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…