◐ Shell
clean mode source ↗

[3.11] gh-91162: Support splitting of unpacked arbitrary-length tuple over TypeVar and TypeVarTuple parameters (alt) (GH-93412) by miss-islington · Pull Request #93746 · python/cpython

@serhiy-storchaka @miss-islington

…over TypeVar and TypeVarTuple parameters (alt) (pythonGH-93412)

For example:

  A[T, *Ts][*tuple[int, ...]] -> A[int, *tuple[int, ...]]
  A[*Ts, T][*tuple[int, ...]] -> A[*tuple[int, ...], int]
(cherry picked from commit 3473817)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>