https://github.com/python/cpython/commit/e406b399f9f677cda3d48ed8d7c9d29a173f51f3
commit: e406b399f9f677cda3d48ed8d7c9d29a173f51f3
branch: main
author: Sebastian Rittau <[email protected]>
committer: JelleZijlstra <[email protected]>
date: 2024-05-20T15:31:45Z
summary:

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

files:
M Doc/library/typing.rst

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 <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