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 (GH-137247)

(cherry picked from commit 5e2f0b9)

Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
  • Loading branch information
Viicos authored and miss-islington committed Jul 31, 2025
commit 285c2053907f46c3b52440b60ae19654d398cd6a
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