Minor changes

This commit is contained in:
Nocturn9x 2022-11-02 09:28:57 +01:00
parent ff2acf298f
commit 1530b54fc5
2 changed files with 1 additions and 4 deletions

View File

@ -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 See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
""" """
from functools import partial
from aiosched.task import Task from aiosched.task import Task
from aiosched.errors import Cancelled
from aiosched.internals.syscalls import ( from aiosched.internals.syscalls import (
spawn, spawn,
wait, wait,

View File

@ -88,7 +88,7 @@ def with_context(*args, **kwargs) -> TaskContext:
""" """
Creates and returns a new TaskContext Creates and returns a new TaskContext
object. All positional and keyword arguments object. All positional and keyword arguments
are passed to TaskContext's constructor are passed to the TaskContext constructor
""" """
return TaskContext(*args, **kwargs) return TaskContext(*args, **kwargs)