We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7a8e0e commit 0377c28Copy full SHA for 0377c28
Doc/library/sys.rst
@@ -1268,10 +1268,13 @@ always available.
1268
.. versionchanged:: 3.4
1269
1270
:term:`Module specs <module spec>` were introduced in Python 3.4, by
1271
- :pep:`451`. Earlier versions of Python looked for a method called
1272
- :meth:`!find_module`.
1273
- This is still called as a fallback if a :data:`meta_path` entry doesn't
1274
- have a :meth:`~importlib.abc.MetaPathFinder.find_spec` method.
+ :pep:`451`.
+
+ .. versionchanged:: 3.12
1275
+ Removed the fallback that looked for a :meth:`!find_module` method
1276
+ if a :data:`meta_path` entry didn't have a
1277
+ :meth:`~importlib.abc.MetaPathFinder.find_spec` method.
1278
1279
.. data:: modules
1280
0 commit comments