summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-06-21 22:05:08 (GMT)
committerGitHub <noreply@github.com>2022-06-21 22:05:08 (GMT)
commitad2e9f97c2cf270a33705e32427738e56e809bea (patch)
tree6725ef1a21c363b066d05fa21df7bf0dd9ca53b6
parent5715382d3a89ca118ce2e224d8c69550d21fe51b (diff)
downloadcpython-ad2e9f97c2cf270a33705e32427738e56e809bea.zip
cpython-ad2e9f97c2cf270a33705e32427738e56e809bea.tar.gz
cpython-ad2e9f97c2cf270a33705e32427738e56e809bea.tar.bz2
bpo-30535: [doc] state that sys.meta_path is not empty by default (GH-94098) (GH-94100)
Co-authored-by: Windson yang <wiwindson@outlook.com> (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>
-rw-r--r--Doc/library/sys.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index b59fa2c..c1a8b01 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -1041,7 +1041,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__`