diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2020-05-07 01:09:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-07 01:09:33 (GMT) |
commit | c1c7d8ead9eb214a6149a43e31a3213c52448877 (patch) | |
tree | 87c656b19a20d5c5ade41f8b2088d0b84a9fccec /Python/dynamic_annotations.c | |
parent | 470aac4d8e76556bd8f820f3f3928dca2b4d2849 (diff) | |
download | cpython-c1c7d8ead9eb214a6149a43e31a3213c52448877.zip cpython-c1c7d8ead9eb214a6149a43e31a3213c52448877.tar.gz cpython-c1c7d8ead9eb214a6149a43e31a3213c52448877.tar.bz2 |
bpo-40397: Refactor typing._GenericAlias (GH-19719)
Make the design more object-oriented.
Split _GenericAlias on two almost independent classes: for special
generic aliases like List and for parametrized generic aliases like List[int].
Add specialized subclasses for Callable, Callable[...], Tuple and Union[...].
Diffstat (limited to 'Python/dynamic_annotations.c')
0 files changed, 0 insertions, 0 deletions