Skip to content

Commit aa843d1

Browse files
committed
bpo-30535: Explicitly note that sys.meta_path is not empty
1 parent 5d23e28 commit aa843d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/sys.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,8 @@ always available.
926926

927927
A list of :term:`meta path finder` objects that have their
928928
:meth:`~importlib.abc.MetaPathFinder.find_spec` methods called to see if one
929-
of the objects can find the module to be imported. The
929+
of the objects can find the module to be imported. By default, it holds entries
930+
to handle the standard kinds of modules (.py files, extension modules...). The
930931
:meth:`~importlib.abc.MetaPathFinder.find_spec` method is called with at
931932
least the absolute name of the module being imported. If the module to be
932933
imported is contained in a package, then the parent package's :attr:`__path__`

0 commit comments

Comments
 (0)