]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-119180: Refer to `annotationlib.get_annotations()` in `typing.get_type_hints(...
authorVictorien <65306057+Viicos@users.noreply.github.com>
Thu, 31 Jul 2025 03:21:56 +0000 (05:21 +0200)
committerGitHub <noreply@github.com>
Thu, 31 Jul 2025 03:21:56 +0000 (20:21 -0700)
Doc/library/typing.rst

index 69df09c779592a3b26c779454f0cc87e0745e3a3..16013763dae210e898b04d17bfcebbb3ba8852a9 100644 (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::