From 1530b54fc5381636374a91f1734899241a6fe614 Mon Sep 17 00:00:00 2001 From: Nocturn9x Date: Wed, 2 Nov 2022 09:28:57 +0100 Subject: [PATCH] Minor changes --- aiosched/context.py | 3 --- aiosched/runtime.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/aiosched/context.py b/aiosched/context.py index abd9da4..d1be89b 100644 --- a/aiosched/context.py +++ b/aiosched/context.py @@ -15,10 +15,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ -from functools import partial - from aiosched.task import Task -from aiosched.errors import Cancelled from aiosched.internals.syscalls import ( spawn, wait, diff --git a/aiosched/runtime.py b/aiosched/runtime.py index de821d2..665adb1 100644 --- a/aiosched/runtime.py +++ b/aiosched/runtime.py @@ -88,7 +88,7 @@ def with_context(*args, **kwargs) -> TaskContext: """ Creates and returns a new TaskContext object. All positional and keyword arguments - are passed to TaskContext's constructor + are passed to the TaskContext constructor """ return TaskContext(*args, **kwargs)