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_selectors.py:47–52 ·
view source on GitHub ↗
(ready, flag)
Source
from the content-addressed store, hash-verified
45
46
47
def
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
55
class
BaseSelectorTestCase:
Callers
1
test_selector
Method · 0.70
Calls
1
append
Method · 0.45
Tested by
no test coverage detected