diff --git a/aiosched/internals/queues.py b/aiosched/internals/queue.py similarity index 100% rename from aiosched/internals/queues.py rename to aiosched/internals/queue.py diff --git a/aiosched/internals/syscalls.py b/aiosched/internals/syscalls.py index fb87ff1..5642d5c 100644 --- a/aiosched/internals/syscalls.py +++ b/aiosched/internals/syscalls.py @@ -46,7 +46,7 @@ def syscall(method: str, *args, **kwargs) -> Any | None: async def spawn(func: Callable[..., Coroutine[Any, Any, Any]], *args, **kwargs) -> Task: """ Spawns a task from a coroutine and returns it. The coroutine - is put on the running cute and is executed as soon as possible. + is put on the running queue and is executed as soon as possible. Any positional and keyword arguments are passed along to the coroutine :param func: The coroutine function to instantiate. Note that this should NOT diff --git a/aiosched/kernel.py b/aiosched/kernel.py index b2c88e5..5a27d97 100644 --- a/aiosched/kernel.py +++ b/aiosched/kernel.py @@ -20,7 +20,7 @@ from collections import deque from functools import partial from aiosched.task import Task, TaskState from timeit import default_timer -from aiosched.internals.queues import TimeQueue +from aiosched.internals.queue import TimeQueue from aiosched.util.debugging import BaseDebugger from typing import Callable, Any, Coroutine from aiosched.errors import InternalError, ResourceBusy, Cancelled, ResourceClosed, ResourceBroken