summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMariatta <Mariatta@users.noreply.github.com>2017-06-23 01:52:57 (GMT)
committerGitHub <noreply@github.com>2017-06-23 01:52:57 (GMT)
commit8baf78b98f3acd76e51a4381542ff1612911b18f (patch)
tree3557492ef63f4300565bf0a1e96b4e5686fb1fa4 /Doc/library
parente9b34c11001a0a2d71323e64fe7324fe6455e94f (diff)
downloadcpython-8baf78b98f3acd76e51a4381542ff1612911b18f.zip
cpython-8baf78b98f3acd76e51a4381542ff1612911b18f.tar.gz
cpython-8baf78b98f3acd76e51a4381542ff1612911b18f.tar.bz2
[3.6] bpo-30619: Clarify typing.Union documentation (GH-2326) (GH-2337)
When a class and its subclass are present, the latter is skipped. (cherry picked from commit 6580c19bbbe7bc9bc0884699afd69184f523b32e)
Diffstat (limited to 'Doc/library')
-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