Minor changes
This commit is contained in:
parent
ff2acf298f
commit
1530b54fc5
|
@ -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,
|
||||
|
|
|
@ -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)
|
||||
|
|
Reference in New Issue