Skip to content

Commit

Permalink
Add newsfragment
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamSpen210 committed Nov 30, 2023
1 parent b91b4b9 commit 972961e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions newsfragments/2881.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`TypeVarTuple <https://docs.python.org/3.12/library/typing.html#typing.TypeVarTuple>`_ is now used to fully type :meth:`nursery.start_soon() <trio.Nursery.start_soon>`, :func:`trio.run()`, :func:`trio.to_thread.run_sync()`, and other similar functions accepting ``(func, *args)``. This means type checkers will be able to verify types are used correctly. :meth:`nursery.start() <trio.Nursery.start>` is not fully typed yet however.

0 comments on commit 972961e

Please sign in to comment.