From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 20 May 2024 15:57:19 +0000 (+0200) Subject: [3.13] [docs] TypeVarTuple default is keyword-only (GH-119215) (#119224) X-Git-Tag: v3.13.0b2~186 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8f3fc01c4cd64e6753be3a65df08699c8ce08259;p=thirdparty%2FPython%2Fcpython.git [3.13] [docs] TypeVarTuple default is keyword-only (GH-119215) (#119224) (cherry picked from commit e406b399f9f677cda3d48ed8d7c9d29a173f51f3) Co-authored-by: Sebastian Rittau --- diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 98ee4cb62108..a3777c11a788 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.