diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-01-07 17:38:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-07 17:38:32 (GMT) |
commit | a3e2407f5c9c1191c6e93e04bc432b7358b8826e (patch) | |
tree | 7a8000c2918eb21aa8fe2f85450aa80a3e1348b3 /Doc | |
parent | 72263f2a20002ceff443e3a231c713f2e14fe3fe (diff) | |
download | cpython-a3e2407f5c9c1191c6e93e04bc432b7358b8826e.zip cpython-a3e2407f5c9c1191c6e93e04bc432b7358b8826e.tar.gz cpython-a3e2407f5c9c1191c6e93e04bc432b7358b8826e.tar.bz2 |
gh-100673: Removed erroneous note in the get_type_hints docs (GH-100701)
Removed erroneous note in the get_type_hints docs
typing.get_type_hints still includes base class type hints.
(cherry picked from commit deaf090699a7312cccb0637409f44de3f382389b)
Co-authored-by: FrozenBob <30644137+FrozenBob@users.noreply.github.com>
Diffstat (limited to 'Doc')
-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 a3a6181..7fc0aa3 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -2767,10 +2767,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. |