From 844e65fa3a908e7a818d0668b17504b5cee2f5cd Mon Sep 17 00:00:00 2001 From: Nocturn9x Date: Wed, 19 Oct 2022 11:38:27 +0200 Subject: [PATCH] Minor change to documentation --- aiosched/kernel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aiosched/kernel.py b/aiosched/kernel.py index e5eda1e..b2c88e5 100644 --- a/aiosched/kernel.py +++ b/aiosched/kernel.py @@ -522,8 +522,8 @@ class FIFOKernel: self.selector.modify(resource, evt_type, self.current_task) self.current_task.last_io = (evt_type, resource) elif not self.current_task.last_io or self.current_task.last_io[1] != resource: - # The task has either registered a new socket or is doing - # I/O for the first time. In both cases, we register a new socket + # The task has either registered a new resource or is doing + # I/O for the first time self.current_task.last_io = evt_type, resource try: self.selector.register(resource, evt_type, [self.current_task])