From cdb4fa8601f07c72f58ceb8bb69304f752e1d5db Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Mon, 20 May 2024 17:31:45 +0200 Subject: [PATCH] [docs] TypeVarTuple default is keyword-only (GH-119215) (cherry picked from commit e406b399f9f677cda3d48ed8d7c9d29a173f51f3) Co-authored-by: Sebastian Rittau --- Doc/library/typing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 98ee4cb6210868..a3777c11a788fe 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.