bpo-44796: Unify TypeVar and ParamSpec substitution (GH-31143)
Add methods __typing_subst__() in TypeVar and ParamSpec. Simplify code by using more object-oriented approach, especially the C code for types.GenericAlias and the Python code for collections.abc.Callable.
S
Serhiy Storchaka committed
b6a5d8590c4bfe4553d796b36af03bda8c0d5af5
Parent: 2d5835a
Committed by GitHub <noreply@github.com>
on 3/11/2022, 8:47:26 AM