diff options
author | Mariatta <Mariatta@users.noreply.github.com> | 2017-06-23 02:18:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-23 02:18:05 (GMT) |
commit | ce1bd6ac7ffaf396157a9ceb55b281a3b196323f (patch) | |
tree | f86409a02b03e6e1776fc76aa9cec7981bfb2d7f | |
parent | 491afb533e40ac2066e427bdce6a77ce8f20d73b (diff) | |
download | cpython-ce1bd6ac7ffaf396157a9ceb55b281a3b196323f.zip cpython-ce1bd6ac7ffaf396157a9ceb55b281a3b196323f.tar.gz cpython-ce1bd6ac7ffaf396157a9ceb55b281a3b196323f.tar.bz2 |
[3.5] bpo-30619: Clarify typing.Union documentation (GH-2326) (GH-2338)
When a class and its subclass are present, the latter is skipped.
(cherry picked from commit 6580c19bbbe7bc9bc0884699afd69184f523b32e)
-rw-r--r-- | Doc/library/typing.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 2ca3bcd..adaad29 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -861,7 +861,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 |