Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Edit the NEWS entry.
  • Loading branch information
serhiy-storchaka committed Jun 12, 2022
commit ae0b4d6e8556062f59537584d1344f247600b9bb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Support splitting of unpacked arbitrary-length tuple over ``TypeVar`` and
``TypeVarTuple`` parameters. For example:

* A[T, *Ts][*tuple[int, ...]] -> A[int, *tuple[int, ...]]
* A[*Ts, T][*tuple[int, ...]] -> A[*tuple[int, ...], int]
* ``A[T, *Ts][*tuple[int, ...]]`` -> ``A[int, *tuple[int, ...]]``
* ``A[*Ts, T][*tuple[int, ...]]`` -> ``A[*tuple[int, ...], int]``