]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-30535: [doc] state that sys.meta_path is not empty by default (GH-94098)
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>
Tue, 21 Jun 2022 22:03:08 +0000 (23:03 +0100)
committerGitHub <noreply@github.com>
Tue, 21 Jun 2022 22:03:08 +0000 (23:03 +0100)
Co-authored-by: Windson yang <wiwindson@outlook.com>
Doc/library/sys.rst

index 5f3b9b5776cb8297eac10e9baedfb0476c503bc9..7e2468446eb96cb249f81aaae259b1c00630fc73 100644 (file)
@@ -1087,7 +1087,8 @@ always available.
 
     A list of :term:`meta path finder` objects that have their
     :meth:`~importlib.abc.MetaPathFinder.find_spec` methods called to see if one
-    of the objects can find the module to be imported. The
+    of the objects can find the module to be imported. By default, it holds entries
+    that implement Python's default import semantics. The
     :meth:`~importlib.abc.MetaPathFinder.find_spec` method is called with at
     least the absolute name of the module being imported. If the module to be
     imported is contained in a package, then the parent package's :attr:`__path__`