From: Alex Waygood Date: Sat, 7 Jan 2023 20:55:41 +0000 (+0000) Subject: [3.10] gh-100673: Removed erroneous note in the get_type_hints docs (#100701) (GH... X-Git-Tag: v3.10.10~63 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=67e52e54bb85ed10d2e21b7e8f7337085304b299;p=thirdparty%2FPython%2Fcpython.git [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 --- 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)