]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] [docs] TypeVarTuple default is keyword-only (GH-119215) (#119224)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 20 May 2024 15:57:19 +0000 (17:57 +0200)
committerGitHub <noreply@github.com>
Mon, 20 May 2024 15:57:19 +0000 (15:57 +0000)
(cherry picked from commit e406b399f9f677cda3d48ed8d7c9d29a173f51f3)

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
Doc/library/typing.rst

index 98ee4cb6210868e8dbb862d1950ed27dabb38673..a3777c11a788fe0639216e673c80012c6b2e319e 100644 (file)
@@ -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 <typevar>`
    that enables *variadic* generics.