gh-119180: Refer to `annotationlib.get_annotations()` in `typing.get_type_hints()` documentation (GH-137247)
(cherry picked from commit
5e2f0b976a762dd0efe1cca4c7b5aaa2ed809578)
Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
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::