commit | b6a5d8590c4bfe4553d796b36af03bda8c0d5af5 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Fri Mar 11 10:47:26 2022 +0200 |
committer | GitHub <noreply@github.com> | Fri Mar 11 10:47:26 2022 +0200 |
tree | 7cf1db87de08ddb22cc31ca426427e9f559dc321 | |
parent | 2d5835a019a46573d5b1b614c8ef88d6b564d8d4 [diff] |
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.