summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>`.