8000 [docs] TypeVarTuple default is keyword-only (GH-119215) · miss-islington/cpython@cdb4fa8 · GitHub
[go: up one dir, main page]

Skip to content

Commit cdb4fa8

Browse files
srittaumiss-islington
authored andcommitted
[docs] TypeVarTuple default is keyword-only (pythonGH-119215)
(cherry picked from commit e406b39) Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
1 parent a52ed7e commit cdb4fa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/typing.rst

Lines changed: 1 addition & 1 deletion
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)
0