bpo-30619: Clarify typing.Union documentation (GH-2326)

When a class and its subclass are present, the latter is skipped.
This commit is contained in:
khyox 2017-06-22 15:14:57 +02:00 committed by Mariatta
parent a3d91b43c2
commit 6580c19bbb
1 changed files with 1 additions and 1 deletions

View File

@ -939,7 +939,7 @@ The module defines the following classes, functions and decorators:
Union[int, str] == Union[str, int] 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 Union[int, object] == object