diff options
author | Alex Waygood <Alex.Waygood@Gmail.com> | 2023-01-07 20:55:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-07 20:55:41 (GMT) |
commit | 67e52e54bb85ed10d2e21b7e8f7337085304b299 (patch) | |
tree | fb54aaac6ebc6e49f45aa1543e6406f67d0a0a40 /Doc/library | |
parent | 8af15cfc8eb2fe9584d441260743a53e0d74eb57 (diff) | |
download | cpython-67e52e54bb85ed10d2e21b7e8f7337085304b299.zip cpython-67e52e54bb85ed10d2e21b7e8f7337085304b299.tar.gz cpython-67e52e54bb85ed10d2e21b7e8f7337085304b299.tar.bz2 |
[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
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/typing.rst | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index d327520..d415f14 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) |