Skip to content

Commit ce1bd6a

Browse files
authored
[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 6580c19)
1 parent 491afb5 commit ce1bd6a

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
@@ -861,7 +861,7 @@ The module defines the following classes, functions and decorators:
861861

862862
Union[int, str] == Union[str, int]
863863

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

866866
Union[int, object] == object
867867

0 commit comments

Comments
 (0)