Skip to content

Commit

Permalink
bpo-40397: Refactor typing._GenericAlias (GH-19719)
Browse files Browse the repository at this point in the history
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[...].
  • Loading branch information
serhiy-storchaka authored May 7, 2020
1 parent 470aac4 commit c1c7d8e
Showing 1 changed file with 198 additions and 191 deletions.
Loading

0 comments on commit c1c7d8e

Please sign in to comment.