]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-103765: Fix 'Warning: py:class reference target not found: ModuleSpec'...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 24 Apr 2023 21:57:21 +0000 (14:57 -0700)
committerGitHub <noreply@github.com>
Mon, 24 Apr 2023 21:57:21 +0000 (15:57 -0600)
(cherry picked from commit d2745fe850d7b1959843c3fd3d284aa14956cd9e)

Co-authored-by: Jaime Alonso Lorenzo <jaimealonsolorenzo@gmail.com>
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