We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 68014ec + 776843d commit b3ec5a1Copy full SHA for b3ec5a1
newsfragments/3224.bugfix.rst
@@ -0,0 +1 @@
1
+Fix incorrect return type hint for :meth:`Nursery.start() <trio.Nursery.start>`.
src/trio/_core/_run.py
@@ -1307,7 +1307,7 @@ async def start( # type: ignore[explicit-any]
1307
async_fn: Callable[..., Awaitable[object]],
1308
*args: object,
1309
name: object = None,
1310
- ) -> Any | None:
+ ) -> Any:
1311
r"""Creates and initializes a child task.
1312
1313
Like :meth:`start_soon`, but blocks until the new task has
0 commit comments