gh-119180: Refer to annotationlib.get_annotations() in typing.get_type_hints() documentation (#137247)

This commit is contained in:
Victorien 2025-07-31 05:21:56 +02:00 committed by GitHub
parent d591b5effb
commit 5e2f0b976a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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::