[Python-checkins] bpo-45391: mark UnionType as a class in documentation (GH-28757)
Fidget-Spinner
webhook-mailer at python.org
Thu Dec 9 07:56:25 EST 2021
https://github.com/python/cpython/commit/e2cfc89e099b8fad5d8d5bd7f59dadffb6078778
commit: e2cfc89e099b8fad5d8d5bd7f59dadffb6078778
branch: main
author: Bernát Gábor <gaborjbernat at gmail.com>
committer: Fidget-Spinner <28750310+Fidget-Spinner at users.noreply.github.com>
date: 2021-12-09T20:56:14+08:00
summary:
bpo-45391: mark UnionType as a class in documentation (GH-28757)
Signed-off-by: Bernát Gábor <bgabor8 at bloomberg.net>
files:
M Doc/library/types.rst
diff --git a/Doc/library/types.rst b/Doc/library/types.rst
index 2314b02c7449c..5cd42f1fc2928 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>`.
More information about the Python-checkins
mailing list