https://github.com/python/cpython/commit/42b58cfa4216e4d53737a9d61a93b3be4f9beb91
commit: 42b58cfa4216e4d53737a9d61a93b3be4f9beb91
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: hugovk <[email protected]>
date: 2025-07-31T07:07:44+03:00
summary:

[3.14] gh-119180: Refer to `annotationlib.get_annotations()` in 
`typing.get_type_hints()` documentation (GH-137247) (#137263)

gh-119180: Refer to `annotationlib.get_annotations()` in 
`typing.get_type_hints()` documentation (GH-137247)
(cherry picked from commit 5e2f0b976a762dd0efe1cca4c7b5aaa2ed809578)

Co-authored-by: Victorien <[email protected]>

files:
M Doc/library/typing.rst

diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 69df09c779592a..16013763dae210 100644
--- a/Doc/library/typing.rst
+++ b/Doc/library/typing.rst
@@ -3357,7 +3357,7 @@ Introspection helpers
      with ``T``, unless *include_extras* is set to ``True`` (see
      :class:`Annotated` for more information).
 
-   See also :func:`inspect.get_annotations`, a lower-level function that
+   See also :func:`annotationlib.get_annotations`, a lower-level function that
    returns annotations more directly.
 
    .. note::

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to