From 72ba40ec6a49853c26a00684646bea660dfd7d02 Mon Sep 17 00:00:00 2001 From: Moreal Date: Mon, 6 Dec 2021 02:47:18 +0900 Subject: [PATCH] Unmark `types.UnionType` --- Lib/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/types.py b/Lib/types.py index b4406978d..9334e3ea2 100644 --- a/Lib/types.py +++ b/Lib/types.py @@ -301,7 +301,7 @@ def coroutine(func): return wrapped GenericAlias = type(list[int]) -# UnionType = type(int | str) +UnionType = type(int | str) EllipsisType = type(Ellipsis) NoneType = type(None)