GH-97850: Suppress cross-references to the removed ``module_repr`` method by AA-Turner · Pull Request #104133 · python/cpython
* The import system now uses the ``__spec__`` attribute on modules before falling back on :meth:`~importlib.abc.Loader.module_repr` for a module's falling back on :meth:`!module_repr` for a module's ``__repr__()`` method. Removal of the use of ``module_repr()`` is scheduled for Python 3.12. (Contributed by Brett Cannon in :issue:`42137`.)
* :meth:`importlib.abc.Loader.module_repr`, :meth:`importlib.machinery.FrozenLoader.module_repr`, and :meth:`importlib.machinery.BuiltinLoader.module_repr` are deprecated and * :meth:`!importlib.abc.Loader.module_repr`, :meth:`!importlib.machinery.FrozenLoader.module_repr`, and :meth:`!importlib.machinery.BuiltinLoader.module_repr` are deprecated and slated for removal in Python 3.12. (Contributed by Brett Cannon in :issue:`42136`.)