mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
[3.13] [docs] TypeVarTuple default is keyword-only (GH-119215) (#119224)
(cherry picked from commit e406b399f9
)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
This commit is contained in:
parent
a52ed7e6d9
commit
8f3fc01c4c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue