From 331e24455a493b599b397b03762b797c75414f2a Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Tue, 21 Jun 2022 15:04:51 -0700 Subject: [PATCH] bpo-30535: [doc] state that sys.meta_path is not empty by default (GH-94098) (GH-94099) Co-authored-by: Windson yang (cherry picked from commit 6575841266b83f3121c188695c7513e551ade034) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> --- Doc/library/sys.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 5f3b9b5776c..7e2468446eb 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__`