Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-119180: Refer to annotationlib.get_annotations() in `typing.get_…
…type_hints()` documentation
  • Loading branch information
Viicos authored Jul 30, 2025
commit de67a5854e5630aa30bc0df70e93bd685a868770
2 changes: 1 addition & 1 deletion Doc/library/typing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down
Loading