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

View File

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