File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ The minimum Python supported version was bumped to 3.11 and the `Select` class r
2222 timer1 = Timer.periodic(datetime.timedelta(seconds = 1 ))
2323 timer2 = Timer.timeout(datetime.timedelta(seconds = 0.5 ))
2424
25- async for selected in selector (timer1, timer2):
25+ async for selected in select (timer1, timer2):
2626 if selected_from(selected, timer1):
2727 # Beware: `selected.value` might raise an exception, you can always
2828 # check for exceptions with `selected.exception` first or use
@@ -79,7 +79,7 @@ The minimum Python supported version was bumped to 3.11 and the `Select` class r
7979
8080 asyncio.ensure_future(exit_after_10_seconds())
8181
82- async for selected in selector (exit_event, other_receiver):
82+ async for selected in select (exit_event, other_receiver):
8383 if selected_from(selected, exit_event):
8484 break
8585 if selected_from(selected, other_receiver):
You can’t perform that action at this time.
0 commit comments