Visitar URL original
[3.13] [docs] TypeVarTuple default is keyword-only (GH-119215) by miss-islington 路 Pull Request #119224 路 python/cpython 路 GitHub
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[docs] TypeVarTuple default is keyword-only (GH-119215)
(cherry picked from commit e406b39)

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
  • Loading branch information
srittau authored and miss-islington committed May 20, 2024
commit cdb4fa8601f07c72f58ceb8bb69304f752e1d5db
2 changes: 1 addition & 1 deletion Doc/library/typing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down