diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2024-01-27 16:37:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-27 16:37:13 (GMT) |
commit | 27ccb7e1ae31fe2469e37f4d78ba905201a0977e (patch) | |
tree | c30d41a4e746f25b710146c31629e088b58a764b /Doc/reference/import.rst | |
parent | e0964658d3a183d8e322bed05b35c3305f825ce5 (diff) | |
download | cpython-27ccb7e1ae31fe2469e37f4d78ba905201a0977e.zip cpython-27ccb7e1ae31fe2469e37f4d78ba905201a0977e.tar.gz cpython-27ccb7e1ae31fe2469e37f4d78ba905201a0977e.tar.bz2 |
[3.11] gh-101100: Fix sphinx warnings in `reference/import.rst` (GH-114646) (#114654)
Diffstat (limited to 'Doc/reference/import.rst')
-rw-r--r-- | Doc/reference/import.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/reference/import.rst b/Doc/reference/import.rst index c44fb98..8698672 100644 --- a/Doc/reference/import.rst +++ b/Doc/reference/import.rst @@ -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 @@ -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" |