@@ -1612,7 +1612,7 @@ Deprecated
1612
1612
(superseded by :meth:`~ importlib.abc.Finder.find_spec` ),
1613
1613
:meth:`~ importlib.abc.Loader.load_module`
1614
1614
(superseded by :meth:`~ importlib.abc.Loader.exec_module` ),
1615
- :meth:`~ importlib.abc.Loader. module_repr` (which the import system
1615
+ :meth:`! module_repr` (which the import system
1616
1616
takes care of for you), the `` __package__ `` attribute
1617
1617
(superseded by `` __spec__ .parent`` ), the `` __loader__`` attribute
1618
1618
(superseded by `` __spec__ .loader`` ), and the `` __cached__`` attribute
@@ -1693,14 +1693,14 @@ Deprecated
1693
1693
(Contributed by Brett Cannon in :issue:`43720 ` .)
1694
1694
1695
1695
* The import system now uses the `` __spec__ `` attribute on modules before
1696
- falling back on :meth:`~ importlib.abc.Loader. module_repr` for a module' s
1696
+ falling back on :meth:`! module_repr` for a module' s
1697
1697
`` __repr__ ()`` method. Removal of the use of `` module_repr()`` is scheduled
1698
1698
for Python 3.12 .
1699
1699
(Contributed by Brett Cannon in :issue:`42137 ` .)
1700
1700
1701
- * :meth:`importlib.abc.Loader.module_repr` ,
1702
- :meth:`importlib.machinery.FrozenLoader.module_repr` , and
1703
- :meth:`importlib.machinery.BuiltinLoader.module_repr` are deprecated and
1701
+ * :meth:`! importlib.abc.Loader.module_repr` ,
1702
+ :meth:`! importlib.machinery.FrozenLoader.module_repr` , and
1703
+ :meth:`! importlib.machinery.BuiltinLoader.module_repr` are deprecated and
1704
1704
slated for removal in Python 3.12 .
1705
1705
(Contributed by Brett Cannon in :issue:`42136 ` .)
1706
1706
0 commit comments