gh-88965: typing: fix type substitution of a list of types after initial `ParamSpec` substitution (#102808)
Previously, this used to fail:
```py
from typing import *
T = TypeVar("T")
P = ParamSpec("P")
class X(Generic[P]):
f: Callable[P, int]
Y = X[[int, T]]
Z = Y[str]
```
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> N
Nikita Sobolev committed
adb0621652f489033b9db8d3949564c9fe545c1d
Parent: baf4eb0
Committed by GitHub <noreply@github.com>
on 3/23/2023, 4:26:11 PM