From d83f8a9ce17954b20fd6e90ff0c3f97ccb6ee78c Mon Sep 17 00:00:00 2001 From: Jaime Alonso Lorenzo Date: Mon, 24 Apr 2023 10:32:56 -0600 Subject: [PATCH] gh-103765: Fix 'Warning: py:class reference target not found: ModuleSpec' --- Doc/library/pkgutil.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/pkgutil.rst b/Doc/library/pkgutil.rst index 66d753bd1a3c6c..64e617b82b48bc 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