From 67e52e54bb85ed10d2e21b7e8f7337085304b299 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sat, 7 Jan 2023 20:55:41 +0000 Subject: [PATCH] [3.10] gh-100673: Removed erroneous note in the get_type_hints docs (#100701) (GH-100826) Removed erroneous note in the get_type_hints docs typing.get_type_hints still includes base class type hints. (cherry picked from commit deaf090699a7312cccb0637409f44de3f382389b) Automerge-Triggered-By: GH:AlexWaygood --- Doc/library/typing.rst | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index d3275209e938..d415f149027f 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -2233,10 +2233,6 @@ Introspection helpers .. versionchanged:: 3.9 Added ``include_extras`` parameter as part of :pep:`593`. - .. versionchanged:: 3.10 - Calling ``get_type_hints()`` on a class no longer returns the annotations - of its base classes. - .. function:: get_args(tp) .. function:: get_origin(tp) -- 2.47.3