From 8a7d53487269723e2bcd73e8615ced1f343ad2ea Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Mon, 20 May 2024 16:42:15 +0200 Subject: [PATCH] [docs] TypeVarTuple default is keyword-only --- 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 2df2faeaf39bd0..a8068609fcfbe7 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.