summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-12-09 13:17:36 (GMT)
committerGitHub <noreply@github.com>2021-12-09 13:17:36 (GMT)
commit2c2ee83c4db4dbd54017dc364bbefc70fa75ea5d (patch)
treebf3fab5d4e8f0c07bd98ef6d0ed2a3596a6e7324
parent99c72326d245fb604609a87a51ef1ad0845467b7 (diff)
downloadcpython-2c2ee83c4db4dbd54017dc364bbefc70fa75ea5d.zip
cpython-2c2ee83c4db4dbd54017dc364bbefc70fa75ea5d.tar.gz
cpython-2c2ee83c4db4dbd54017dc364bbefc70fa75ea5d.tar.bz2
bpo-45391: mark UnionType as a class in documentation (GH-28757)
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net> (cherry picked from commit e2cfc89e099b8fad5d8d5bd7f59dadffb6078778) Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
-rw-r--r--Doc/library/types.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/types.rst b/Doc/library/types.rst
index 2314b02..5cd42f1 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<types-union>`.