mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
[3.11] gh-103765: Fix 'Warning: py:class reference target not found: ModuleSpec' (GH-103769) (#103799)
(cherry picked from commit d2745fe850
)
Co-authored-by: Jaime Alonso Lorenzo <jaimealonsolorenzo@gmail.com>
This commit is contained in:
parent
c8de883bcb
commit
6f92d3f01a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue