Skip to content

Commit c1c7d8e

Browse files
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[...].
1 parent 470aac4 commit c1c7d8e

File tree

1 file changed

+198
-191
lines changed

1 file changed

+198
-191
lines changed

0 commit comments

Comments
 (0)