Skip to content

Commit 8baf78b

Browse files
authored
[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 6580c19)
1 parent e9b34c1 commit 8baf78b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/typing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ The module defines the following classes, functions and decorators:
939939

940940
Union[int, str] == Union[str, int]
941941

942-
* When a class and its subclass are present, the former is skipped, e.g.::
942+
* When a class and its subclass are present, the latter is skipped, e.g.::
943943

944944
Union[int, object] == object
945945

0 commit comments

Comments
 (0)