Skip to content

Commit

Permalink
bpo-30535: [doc] state that sys.meta_path is not empty by default (py…
Browse files Browse the repository at this point in the history
…thonGH-94098)

Co-authored-by: Windson yang <wiwindson@outlook.com>
(cherry picked from commit 6575841)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
  • Loading branch information
iritkatriel authored and miss-islington committed Jun 21, 2022
1 parent 5715382 commit 2e0a5da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Doc/library/sys.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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__`
Expand Down

0 comments on commit 2e0a5da

Please sign in to comment.