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

Function find_ready_matching

Lib/test/test_devpoll.py:16–21  ·  view source on GitHub ↗
(ready, flag)

Source from the content-addressed store, hash-verified

14
15
16def find_ready_matching(ready, flag):
17 match = []
18 for fd, mode in ready:
19 if mode & flag:
20 match.append(fd)
21 return match
22
23class DevPollTests(unittest.TestCase):
24

Callers 1

test_devpoll1Method · 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…