Skip to content

Commit df2760b

Browse files
committed
Nursery.start() doesn't specifically return None
1 parent d63f3a9 commit df2760b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/trio/_core/_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1307,7 +1307,7 @@ async def start( # type: ignore[explicit-any]
13071307
async_fn: Callable[..., Awaitable[object]],
13081308
*args: object,
13091309
name: object = None,
1310-
) -> Any | None:
1310+
) -> Any:
13111311
r"""Creates and initializes a child task.
13121312
13131313
Like :meth:`start_soon`, but blocks until the new task has

0 commit comments

Comments
 (0)