]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-103765: Fix 'Warning: py:class reference target not found: ModuleSpec' (GH-103769)
authorJaime Alonso Lorenzo <jaimealonsolorenzo@gmail.com>
Mon, 24 Apr 2023 16:51:45 +0000 (10:51 -0600)
committerGitHub <noreply@github.com>
Mon, 24 Apr 2023 16:51:45 +0000 (10:51 -0600)
Doc/library/pkgutil.rst

index 66d753bd1a3c6ce63becfe7ecb35dbe9e62a8b55..64e617b82b48bc631c922137fe83a989ea0eba28 100644 (file)
@@ -82,7 +82,7 @@ support.
    This is a backwards compatibility wrapper around
    :func:`importlib.util.find_spec` that converts most failures to
    :exc:`ImportError` and only returns the loader rather than the full
-   :class:`ModuleSpec`.
+   :class:`importlib.machinery.ModuleSpec`.
 
    .. versionchanged:: 3.3
       Updated to be based directly on :mod:`importlib` rather than relying