Skip to content

Commit 27ccb7e

Browse files
authored
[3.11] gh-101100: Fix sphinx warnings in reference/import.rst (GH-114646) (#114654)
1 parent e096465 commit 27ccb7e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Doc/reference/import.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ modules, and one that knows how to import modules from an :term:`import path`
327327
finders replaced :meth:`~importlib.abc.MetaPathFinder.find_module`, which
328328
is now deprecated. While it will continue to work without change, the
329329
import machinery will try it only if the finder does not implement
330-
``find_spec()``.
330+
:meth:`~importlib.abc.MetaPathFinder.find_spec`.
331331

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

797797
:data:`sys.path` contains a list of strings providing search locations for
798-
modules and packages. It is initialized from the :data:`PYTHONPATH`
798+
modules and packages. It is initialized from the :envvar:`PYTHONPATH`
799799
environment variable and various other installation- and
800800
implementation-specific defaults. Entries in :data:`sys.path` can name
801801
directories on the file system, zip files, and potentially other "locations"

Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ Doc/library/xmlrpc.server.rst
9292
Doc/library/zlib.rst
9393
Doc/reference/compound_stmts.rst
9494
Doc/reference/datamodel.rst
95-
Doc/reference/import.rst
9695
Doc/tutorial/datastructures.rst
9796
Doc/using/windows.rst
9897
Doc/whatsnew/2.0.rst

0 commit comments

Comments
 (0)