mirror of
https://github.com/python/cpython.git
synced 2025-08-19 08:11:46 +00:00
[docs] TypeVarTuple default is keyword-only (#119215)
This commit is contained in:
parent
642b25b9a8
commit
e406b399f9
1 changed files with 1 additions and 1 deletions
|
@ -1780,7 +1780,7 @@ without the dedicated syntax, as documented below.
|
||||||
|
|
||||||
.. _typevartuple:
|
.. _typevartuple:
|
||||||
|
|
||||||
.. class:: TypeVarTuple(name, default=typing.NoDefault)
|
.. class:: TypeVarTuple(name, *, default=typing.NoDefault)
|
||||||
|
|
||||||
Type variable tuple. A specialized form of :ref:`type variable <typevar>`
|
Type variable tuple. A specialized form of :ref:`type variable <typevar>`
|
||||||
that enables *variadic* generics.
|
that enables *variadic* generics.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue