mirror of https://github.com/python/cpython
gh-103765: Fix 'Warning: py:class reference target not found: ModuleSpec' (GH-103769)
This commit is contained in:
parent
68f5836582
commit
d2745fe850
|
@ -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…
Reference in New Issue