From: Sebastian Rittau Date: Mon, 20 May 2024 15:31:45 +0000 (+0200) Subject: [docs] TypeVarTuple default is keyword-only (#119215) X-Git-Tag: v3.14.0a1~1862 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e406b399f9f677cda3d48ed8d7c9d29a173f51f3;p=thirdparty%2FPython%2Fcpython.git [docs] TypeVarTuple default is keyword-only (#119215) --- diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 2df2faeaf39b..a8068609fcfb 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -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 ` that enables *variadic* generics.