bpo-41810: Reintroduce types.EllipsisType, .NoneType & .NotImplementedType (GH-22336)

closes issue 41810
This commit is contained in:
Bas van Beek 2020-09-22 17:55:34 +02:00 committed by GitHub
parent a68a2ad19c
commit 0d0e9fe2ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 54 additions and 5 deletions

View file

@ -296,5 +296,8 @@ def coroutine(func):
GenericAlias = type(list[int])
Union = type(int | str)
EllipsisType = type(Ellipsis)
NoneType = type(None)
NotImplementedType = type(NotImplemented)
__all__ = [n for n in globals() if n[:1] != '_']