https://github.com/python/cpython/commit/8f3fc01c4cd64e6753be3a65df08699c8ce08259
commit: 8f3fc01c4cd64e6753be3a65df08699c8ce08259
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: JelleZijlstra <[email protected]>
date: 2024-05-20T15:57:19Z
summary:

[3.13] [docs] TypeVarTuple default is keyword-only (GH-119215) (#119224)

(cherry picked from commit e406b399f9f677cda3d48ed8d7c9d29a173f51f3)

Co-authored-by: Sebastian Rittau <[email protected]>

files:
M Doc/library/typing.rst

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 <typevar>`
    that enables *variadic* generics.

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to