mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
gh-99662: fix typo in typing.TypeVarTuple docs (#99672)
This commit is contained in:
parent
2781ec9b0e
commit
1bf983ce7e
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]``.)
|
||||
|
||||
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: tuple[Ts] # Not valid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue