bpo-44732: Rename types.Union to types.UnionType (GH-27342)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 2b8ad9e6c5)

Co-authored-by: Hasan <hasan.aleeyev@gmail.com>
This commit is contained in:
Miss Islington (bot) 2021-07-26 12:02:58 -07:00 committed by GitHub
parent 16a174f7ba
commit 8a37e8cf45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 22 additions and 22 deletions

View file

@ -297,9 +297,8 @@ def coroutine(func):
return wrapped
GenericAlias = type(list[int])
Union = type(int | str)
UnionType = type(int | str)
EllipsisType = type(Ellipsis)
NoneType = type(None)