mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
gh-99662: fix typo in typing.TypeVarTuple docs (GH-99672)
(cherry picked from commit 1bf983ce7e
)
Co-authored-by: GabrielAnguita <60579349+GabrielAnguita@users.noreply.github.com>
This commit is contained in:
parent
a3480ec795
commit
05147dc383
1 changed files with 1 additions and 1 deletions
|
@ -1339,7 +1339,7 @@ These are not used in annotations. They are building blocks for creating generic
|
||||||
``Unpack[Ts]``.)
|
``Unpack[Ts]``.)
|
||||||
|
|
||||||
Type variable tuples must *always* be unpacked. This helps distinguish type
|
Type variable tuples must *always* be unpacked. This helps distinguish type
|
||||||
variable types from normal type variables::
|
variable tuples from normal type variables::
|
||||||
|
|
||||||
x: Ts # Not valid
|
x: Ts # Not valid
|
||||||
x: tuple[Ts] # Not valid
|
x: tuple[Ts] # Not valid
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue