summaryrefslogtreecommitdiffstats
path: root/Doc/library/typing.rst
diff options
context:
space:
mode:
authorkhyox <jse.mnl@gmail.com>2017-06-22 13:14:57 (GMT)
committerMariatta <Mariatta@users.noreply.github.com>2017-06-22 13:14:57 (GMT)
commit6580c19bbbe7bc9bc0884699afd69184f523b32e (patch)
tree8d6abe68217c383f2a9883f624eaa7f10d49762d /Doc/library/typing.rst
parenta3d91b43c2851312fb942f31afa12f5961706db6 (diff)
downloadcpython-6580c19bbbe7bc9bc0884699afd69184f523b32e.zip
cpython-6580c19bbbe7bc9bc0884699afd69184f523b32e.tar.gz
cpython-6580c19bbbe7bc9bc0884699afd69184f523b32e.tar.bz2
bpo-30619: Clarify typing.Union documentation (GH-2326)
When a class and its subclass are present, the latter is skipped.
Diffstat (limited to 'Doc/library/typing.rst')
-rw-r--r--Doc/library/typing.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 1780739..1e48fec 100644
--- a/Doc/library/typing.rst
+++ b/Doc/library/typing.rst
@@ -939,7 +939,7 @@ The module defines the following classes, functions and decorators:
Union[int, str] == Union[str, int]
- * When a class and its subclass are present, the former is skipped, e.g.::
+ * When a class and its subclass are present, the latter is skipped, e.g.::
Union[int, object] == object