Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
15
def
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
22
class
DevPollTests(unittest.TestCase):
23
Callers
1
test_devpoll1
Method · 0.70
Calls
1
append
Method · 0.45
Tested by
no test coverage detected