summaryrefslogtreecommitdiffstats
path: root/Doc/library/types.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-07-26 19:02:58 (GMT)
committerGitHub <noreply@github.com>2021-07-26 19:02:58 (GMT)
commit8a37e8cf45105fbb592c31ebd30501bbdea5ab81 (patch)
treeefed9f23223fb796e924fd2ea0ea7d2add7b878a /Doc/library/types.rst
parent16a174f7bac481ff6f859179b30a74d867747137 (diff)
downloadcpython-8a37e8cf45105fbb592c31ebd30501bbdea5ab81.zip
cpython-8a37e8cf45105fbb592c31ebd30501bbdea5ab81.tar.gz
cpython-8a37e8cf45105fbb592c31ebd30501bbdea5ab81.tar.bz2
bpo-44732: Rename types.Union to types.UnionType (GH-27342)
Co-authored-by: Ɓukasz Langa <lukasz@langa.pl> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 2b8ad9e6c5f0a66e9ca2d15f85336d8a3eefefb0) Co-authored-by: Hasan <hasan.aleeyev@gmail.com>
Diffstat (limited to 'Doc/library/types.rst')
-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 2dfc0f2..88fe47a 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:: Union
+.. data:: UnionType
The type of :ref:`union type expressions<types-union>`.