Skip to content

Commit 42b58cf

Browse files
[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 5e2f0b9) Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
1 parent aab9537 commit 42b58cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/typing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3357,7 +3357,7 @@ Introspection helpers
33573357
with ``T``, unless *include_extras* is set to ``True`` (see
33583358
:class:`Annotated` for more information).
33593359

3360-
See also :func:`inspect.get_annotations`, a lower-level function that
3360+
See also :func:`annotationlib.get_annotations`, a lower-level function that
33613361
returns annotations more directly.
33623362

33633363
.. note::

0 commit comments

Comments
 (0)