From 8baf78b98f3acd76e51a4381542ff1612911b18f Mon Sep 17 00:00:00 2001 From: Mariatta Date: Thu, 22 Jun 2017 18:52:57 -0700 Subject: [PATCH] [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 6580c19bbbe7bc9bc0884699afd69184f523b32e) --- Doc/library/typing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.0