summaryrefslogtreecommitdiffstats
path: root/Doc/library/sys.rst
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2022-06-21 22:03:08 (GMT)
committerGitHub <noreply@github.com>2022-06-21 22:03:08 (GMT)
commit6575841266b83f3121c188695c7513e551ade034 (patch)
tree37e5c315e8fa7470f3ef850db115a51d8f7da78e /Doc/library/sys.rst
parent296e4efebbd1865153ed3be24887a2af3898a0c4 (diff)
downloadcpython-6575841266b83f3121c188695c7513e551ade034.zip
cpython-6575841266b83f3121c188695c7513e551ade034.tar.gz
cpython-6575841266b83f3121c188695c7513e551ade034.tar.bz2
bpo-30535: [doc] state that sys.meta_path is not empty by default (GH-94098)
Co-authored-by: Windson yang <wiwindson@outlook.com>
Diffstat (limited to 'Doc/library/sys.rst')
-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 5f3b9b5..7e24684 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__`