Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 460945f commit b769c91Copy full SHA for b769c91
1 file changed
Doc/reference/import.rst
@@ -890,7 +890,7 @@ import statements within that module.
890
891
To selectively prevent import of some modules from a hook early on the
892
meta path (rather than disabling the standard import system entirely),
893
-it is sufficient to raise :exc:`ModuleNoFoundError` directly from
+it is sufficient to raise :exc:`ModuleNotFoundError` directly from
894
:meth:`~importlib.abc.MetaPathFinder.find_spec` instead of returning
895
``None``. The latter indicates that the meta path search should continue,
896
while raising an exception terminates it immediately.
0 commit comments