From: Bernát Gábor Date: Thu, 9 Dec 2021 12:56:14 +0000 (+0000) Subject: bpo-45391: mark UnionType as a class in documentation (GH-28757) X-Git-Tag: v3.11.0a4~250 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e2cfc89e099b8fad5d8d5bd7f59dadffb6078778;p=thirdparty%2FPython%2Fcpython.git bpo-45391: mark UnionType as a class in documentation (GH-28757) Signed-off-by: Bernát Gábor --- 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`.