diff --git a/Doc/library/types.rst b/Doc/library/types.rst index 2314b02c7449c0..5cd42f1fc2928d 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`.