[docs] TypeVarTuple default is keyword-only (#119215)

This commit is contained in:
Sebastian Rittau 2024-05-20 17:31:45 +02:00 committed by GitHub
parent 642b25b9a8
commit e406b399f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1780,7 +1780,7 @@ without the dedicated syntax, as documented below.
.. _typevartuple:
.. class:: TypeVarTuple(name, default=typing.NoDefault)
.. class:: TypeVarTuple(name, *, default=typing.NoDefault)
Type variable tuple. A specialized form of :ref:`type variable <typevar>`
that enables *variadic* generics.