]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45391: mark UnionType as a class in documentation (GH-28757)
authorBernát Gábor <gaborjbernat@gmail.com>
Thu, 9 Dec 2021 12:56:14 +0000 (12:56 +0000)
committerGitHub <noreply@github.com>
Thu, 9 Dec 2021 12:56:14 +0000 (20:56 +0800)
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
Doc/library/types.rst

index 2314b02c7449c0bcff53478e2776955cf9269743..5cd42f1fc2928d14092140e78cfb430269a17ff8 100644 (file)
@@ -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<types-union>`.