diff options
author | Bas van Beek <43369155+BvB93@users.noreply.github.com> | 2020-09-22 17:55:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-22 08:55:34 -0700 |
commit | 0d0e9fe2ffc1683758a1985ef6dedeef5ecafdbc (patch) | |
tree | 6b8cf4e733d804aaf7f841c0d37d48edff7b710d /Lib/types.py | |
parent | a68a2ad19c891faa891904b3da537911cc77df21 (diff) | |
download | cpython-git-0d0e9fe2ffc1683758a1985ef6dedeef5ecafdbc.tar.gz |
bpo-41810: Reintroduce `types.EllipsisType`, `.NoneType` & `.NotImplementedType` (GH-22336)
closes issue 41810
Diffstat (limited to 'Lib/types.py')
-rw-r--r-- | Lib/types.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/types.py b/Lib/types.py index 9642e7212c..532f4806fc 100644 --- a/Lib/types.py +++ b/Lib/types.py @@ -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] != '_'] |