From 20da064a68d49e274223db83690a2767a8c8ab6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bern=C3=A1t=20G=C3=A1bor?= Date: Wed, 6 Oct 2021 13:36:18 +0100 Subject: [PATCH] bpo-45391: UnionType is a class not data MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bernát Gábor --- Doc/library/types.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/types.rst b/Doc/library/types.rst index 2314b02c7449c0b..5cd42f1fc2928d1 100644 --- a/Doc/library/types.rst +++ b/Doc/library/types.rst @@ -312,7 +312,7 @@ Standard names are defined for the following types: This type can now be subclassed. -.. data:: UnionType +.. class:: UnionType The type of :ref:`union type expressions`.