Skip to content

Commit e406b39

Browse files
authored
[docs] TypeVarTuple default is keyword-only (#119215)
1 parent 642b25b commit e406b39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/typing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1780,7 +1780,7 @@ without the dedicated syntax, as documented below.
17801780

17811781
.. _typevartuple:
17821782

1783-
.. class:: TypeVarTuple(name, default=typing.NoDefault)
1783+
.. class:: TypeVarTuple(name, *, default=typing.NoDefault)
17841784

17851785
Type variable tuple. A specialized form of :ref:`type variable <typevar>`
17861786
that enables *variadic* generics.

0 commit comments

Comments
 (0)