Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8f3fc01

Browse filesBrowse files
[3.13] [docs] TypeVarTuple default is keyword-only (GH-119215) (#119224)
(cherry picked from commit e406b39) Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
1 parent a52ed7e commit 8f3fc01
Copy full SHA for 8f3fc01

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎Doc/library/typing.rst

Copy file name to clipboardExpand all lines: Doc/library/typing.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1780,7 +1780,7 @@ without the dedicated syntax, as documented below.
17801780

17811781
.. _typevartuple:
17821782

1783-
.. class:: TypeVarTuple(name, default=typing.NoDefault)
1783+
.. class:: TypeVarTuple(name, *, default=typing.NoDefault)
17841784

17851785
Type variable tuple. A specialized form of :ref:`type variable <typevar>`
17861786
that enables *variadic* generics.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.