Typos + minor module refactoring

This commit is contained in:
Nocturn9x 2022-10-19 11:39:50 +02:00
parent 844e65fa3a
commit 3021544e7f
3 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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