From 07b8337a46ee5bbfea514e6d78312ec56359bb49 Mon Sep 17 00:00:00 2001 From: Nocturn9x Date: Wed, 19 Oct 2022 11:37:45 +0200 Subject: [PATCH] Minor change to documentation --- aiosched/kernel.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/aiosched/kernel.py b/aiosched/kernel.py index 71ad9a6..e5eda1e 100644 --- a/aiosched/kernel.py +++ b/aiosched/kernel.py @@ -114,10 +114,7 @@ class FIFOKernel: Closes the event loop. If force equals False, which is the default, raises an InternalError exception. If force equals True, cancels all - tasks. - - :param force: - :return: + tasks """ if not self.done() and not force: @@ -517,7 +514,8 @@ class FIFOKernel: # the last one used, then this method will register a new # one if self.current_task.last_io == (evt_type, resource): - # Socket is already listening for that event! + # Selector is already listening for that event on + # this resource return elif self.current_task.last_io[1] == resource: # If the event to listen for has changed we just modify it