diff options
| author | khyox <jse.mnl@gmail.com> | 2017-06-22 15:14:57 +0200 |
|---|---|---|
| committer | Mariatta <Mariatta@users.noreply.github.com> | 2017-06-22 06:14:57 -0700 |
| commit | 6580c19bbbe7bc9bc0884699afd69184f523b32e (patch) | |
| tree | 8d6abe68217c383f2a9883f624eaa7f10d49762d | |
| parent | a3d91b43c2851312fb942f31afa12f5961706db6 (diff) | |
| download | cpython-git-6580c19bbbe7bc9bc0884699afd69184f523b32e.tar.gz | |
bpo-30619: Clarify typing.Union documentation (GH-2326)
When a class and its subclass are present, the latter is skipped.
| -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 1780739ad1..1e48fecdbf 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 |
