diff options
author | khyox <jse.mnl@gmail.com> | 2017-06-22 13:14:57 (GMT) |
---|---|---|
committer | Mariatta <Mariatta@users.noreply.github.com> | 2017-06-22 13:14:57 (GMT) |
commit | 6580c19bbbe7bc9bc0884699afd69184f523b32e (patch) | |
tree | 8d6abe68217c383f2a9883f624eaa7f10d49762d /Doc | |
parent | a3d91b43c2851312fb942f31afa12f5961706db6 (diff) | |
download | cpython-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')
-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 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 |