[Python-checkins] bpo-30535: [doc] state that sys.meta_path is not empty by default (GH-94098)

iritkatriel webhook-mailer at python.org
Tue Jun 21 18:03:18 EDT 2022


https://github.com/python/cpython/commit/6575841266b83f3121c188695c7513e551ade034
commit: 6575841266b83f3121c188695c7513e551ade034
branch: main
author: Irit Katriel <1055913+iritkatriel at users.noreply.github.com>
committer: iritkatriel <1055913+iritkatriel at users.noreply.github.com>
date: 2022-06-21T23:03:08+01:00
summary:

bpo-30535: [doc] state that sys.meta_path is not empty by default (GH-94098)

Co-authored-by: Windson yang <wiwindson at outlook.com>

files:
M Doc/library/sys.rst

diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 5f3b9b5776cb8..7e2468446eb96 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -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__`



More information about the Python-checkins mailing list