MCPcopy Index your code
hub / github.com/RustPython/RustPython / find_ready_matching

Function find_ready_matching

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

Source from the content-addressed store, hash-verified

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

Callers 1

test_devpoll1Method · 0.70

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected