Skip to content

Commit cd7b7bb

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
1 parent a695e23 commit cd7b7bb

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

stdlib/asyncio/taskgroups.pyi

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,14 @@ class TaskGroup:
2222

2323
async def __aenter__(self) -> Self: ...
2424
async def __aexit__(self, et: type[BaseException] | None, exc: BaseException | None, tb: TracebackType | None) -> None: ...
25-
def create_task(self, coro: _CoroutineLike[_T], *, name: str | None = None, context: Context | None = None, eager_start: bool | None = None, **kwargs: Any) -> Task[_T]: ...
26-
def _on_task_done(self, task: Task[object]) -> None: ...
25+
26+
def create_task(
27+
self,
28+
coro: _CoroutineLike[_T],
29+
*,
30+
name: str | None = None,
31+
context: Context | None = None,
32+
eager_start: bool | None = None,
33+
**kwargs: Any,
34+
) -> Task[_T]: ...
35+
def _on_task_done(self, task: Task[object]) -> None: ...

0 commit comments

Comments
 (0)