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

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
Hasan 2021-07-26 20:00:21 +04:00 committed by GitHub
parent 3e5b82ed7e
commit 2b8ad9e6c5
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)