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