Skip to content

Commit

Permalink
[3.11] gh-103765: Fix 'Warning: py:class reference target not found: …
Browse files Browse the repository at this point in the history
…ModuleSpec' (GH-103769) (#103799)

(cherry picked from commit d2745fe)

Co-authored-by: Jaime Alonso Lorenzo <jaimealonsolorenzo@gmail.com>
  • Loading branch information
miss-islington and jaimealonso authored Apr 24, 2023
1 parent c8de883 commit 6f92d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/pkgutil.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f92d3f

Please sign in to comment.