Skip to content

Commit d83f8a9

Browse files
committed
pythongh-103765: Fix 'Warning: py:class reference target not found: ModuleSpec'
1 parent dca27a6 commit d83f8a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/pkgutil.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ support.
8282
This is a backwards compatibility wrapper around
8383
:func:`importlib.util.find_spec` that converts most failures to
8484
:exc:`ImportError` and only returns the loader rather than the full
85-
:class:`ModuleSpec`.
85+
:class:`importlib.machinery.ModuleSpec`.
8686

8787
.. versionchanged:: 3.3
8888
Updated to be based directly on :mod:`importlib` rather than relying

0 commit comments

Comments
 (0)