Skip to content

Commit 27860cf

Browse files
committed
Remove redundant comments about wait_task_rescheduled return type
1 parent 1ac5496 commit 27860cf

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎src/trio/_core/_io_kqueue.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ def abort_deprecated(raise_cancel: RaiseCancelT) -> Abort:
226226
self._deregister(key)
227227
return r
228228

229-
# wait_task_rescheduled does not have its return type typed
230229
return await _core.wait_task_rescheduled( # type: ignore[no-any-return]
231230
abort_deprecated,
232231
)
@@ -270,7 +269,6 @@ def abort(raise_cancel: RaiseCancelT) -> Abort:
270269
raise
271270
return _core.Abort.SUCCEEDED
272271

273-
# wait_task_rescheduled does not have its return type typed
274272
return await _core.wait_task_rescheduled(abort) # type: ignore[no-any-return]
275273

276274
@_public

0 commit comments

Comments
 (0)