From 6f441c4462b9c0968113a0409d29955d6c50ccd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filipe=20La=C3=ADns?= Date: Sun, 17 Nov 2024 03:58:39 +0000 Subject: [PATCH] Simplify docs text MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Filipe LaĆ­ns --- Doc/library/importlib.rst | 3 +-- Lib/importlib/_bootstrap_external.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index 649e71d9228b7a..2b38ab81e201b1 100644 --- a/Doc/library/importlib.rst +++ b/Doc/library/importlib.rst @@ -991,8 +991,7 @@ find and load modules. It uses the module *name* to find its parent module, and from there it looks up the parent's :attr:`module.__path__`. When this changes, the module's own - path is recomputed, using *path_finder*. The initial package path value is - set to *path*. + path is recomputed, using *path_finder*. The initial value is set to *path*. For top-level modules, the parent module's path is :data:`sys.path`. diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py index b5768e8c5966d4..4a87f1cf0e8a32 100644 --- a/Lib/importlib/_bootstrap_external.py +++ b/Lib/importlib/_bootstrap_external.py @@ -1084,7 +1084,7 @@ class NamespacePath: It uses the module name to find its parent module, and from there it looks up the parent's __path__. When this changes, the module's own path is - recomputed, using path_finder. The initial package path value is set to path. + recomputed, using path_finder. The initial value is set to path. For top-level modules, the parent module's path is sys.path. """