Skip to content

Commit 6f6600d

Browse files
committed
Make kq.control() invocation clearer by passing kwargs
1 parent 4e17856 commit 6f6600d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/subprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2145,7 +2145,7 @@ def _wait_kqueue(self, timeout):
21452145
fflags=select.KQ_NOTE_EXIT,
21462146
)
21472147
try:
2148-
events = kq.control([kev], 1, timeout) # wait
2148+
events = kq.control([kev], max_events=1, timeout=10) # wait
21492149
except OSError:
21502150
return False
21512151
else:

0 commit comments

Comments
 (0)