From 2c2ee83c4db4dbd54017dc364bbefc70fa75ea5d Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Thu, 9 Dec 2021 05:17:36 -0800 Subject: [PATCH] bpo-45391: mark UnionType as a class in documentation (GH-28757) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bernát Gábor (cherry picked from commit e2cfc89e099b8fad5d8d5bd7f59dadffb6078778) Co-authored-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 2314b02c7449..5cd42f1fc292 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`.