From 0d0e9fe2ffc1683758a1985ef6dedeef5ecafdbc Mon Sep 17 00:00:00 2001 From: Bas van Beek <43369155+BvB93@users.noreply.github.com> Date: Tue, 22 Sep 2020 17:55:34 +0200 Subject: bpo-41810: Reintroduce `types.EllipsisType`, `.NoneType` & `.NotImplementedType` (GH-22336) closes issue 41810 --- Lib/types.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Lib/types.py') 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] != '_'] -- cgit v1.2.1