Skip to content

Commit

Permalink
[3.11] gh-101100: Fix sphinx warnings in reference/import.rst (GH-1…
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Jan 27, 2024
1 parent e096465 commit 27ccb7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Doc/reference/import.rst
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ modules, and one that knows how to import modules from an :term:`import path`
finders replaced :meth:`~importlib.abc.MetaPathFinder.find_module`, which
is now deprecated. While it will continue to work without change, the
import machinery will try it only if the finder does not implement
``find_spec()``.
:meth:`~importlib.abc.MetaPathFinder.find_spec`.

.. versionchanged:: 3.10
Use of :meth:`~importlib.abc.MetaPathFinder.find_module` by the import system
Expand Down Expand Up @@ -795,7 +795,7 @@ attributes on package objects are also used. These provide additional ways
that the import machinery can be customized.

:data:`sys.path` contains a list of strings providing search locations for
modules and packages. It is initialized from the :data:`PYTHONPATH`
modules and packages. It is initialized from the :envvar:`PYTHONPATH`
environment variable and various other installation- and
implementation-specific defaults. Entries in :data:`sys.path` can name
directories on the file system, zip files, and potentially other "locations"
Expand Down
1 change: 0 additions & 1 deletion Doc/tools/.nitignore
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ Doc/library/xmlrpc.server.rst
Doc/library/zlib.rst
Doc/reference/compound_stmts.rst
Doc/reference/datamodel.rst
Doc/reference/import.rst
Doc/tutorial/datastructures.rst
Doc/using/windows.rst
Doc/whatsnew/2.0.rst
Expand Down

0 comments on commit 27ccb7e

Please sign in to comment.