mirror of https://github.com/python/cpython.git
[docs] TypeVarTuple default is keyword-only (#119215)
This commit is contained in:
parent
642b25b9a8
commit
e406b399f9
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue