From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 24 Apr 2023 21:57:21 +0000 (-0700) Subject: [3.11] gh-103765: Fix 'Warning: py:class reference target not found: ModuleSpec'... X-Git-Tag: v3.11.4~172 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6f92d3f01abd000eb67f21fedea26132d40ddef9;p=thirdparty%2FPython%2Fcpython.git [3.11] gh-103765: Fix 'Warning: py:class reference target not found: ModuleSpec' (GH-103769) (#103799) (cherry picked from commit d2745fe850d7b1959843c3fd3d284aa14956cd9e) Co-authored-by: Jaime Alonso Lorenzo --- diff --git a/Doc/library/pkgutil.rst b/Doc/library/pkgutil.rst index 66d753bd1a3c..64e617b82b48 100644 --- a/Doc/library/pkgutil.rst +++ b/Doc/library/pkgutil.rst @@ -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