diff options
author | FrozenBob <30644137+FrozenBob@users.noreply.github.com> | 2023-01-07 17:31:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-07 17:31:47 (GMT) |
commit | deaf090699a7312cccb0637409f44de3f382389b (patch) | |
tree | f455fbf9a2015a039bff74d8ee686ad70deb6598 | |
parent | 7116030a25f7dd2140ef3e889f3f5471334d6d0b (diff) | |
download | cpython-deaf090699a7312cccb0637409f44de3f382389b.zip cpython-deaf090699a7312cccb0637409f44de3f382389b.tar.gz cpython-deaf090699a7312cccb0637409f44de3f382389b.tar.bz2 |
gh-100673: Removed erroneous note in the get_type_hints docs (#100701)
Removed erroneous note in the get_type_hints docs
typing.get_type_hints still includes base class type hints.
-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 4eed6b4..356f919 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -2777,10 +2777,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. - .. versionchanged:: 3.11 Previously, ``Optional[t]`` was added for function and method annotations if a default value equal to ``None`` was set. |