Skip to content

Commit 6f441c4

Browse files
committed
Simplify docs text
Signed-off-by: Filipe Laíns <lains@riseup.net>
1 parent cd506a4 commit 6f441c4

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

Doc/library/importlib.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -991,8 +991,7 @@ find and load modules.
991991

992992
It uses the module *name* to find its parent module, and from there it looks
993993
up the parent's :attr:`module.__path__`. When this changes, the module's own
994-
path is recomputed, using *path_finder*. The initial package path value is
995-
set to *path*.
994+
path is recomputed, using *path_finder*. The initial value is set to *path*.
996995

997996
For top-level modules, the parent module's path is :data:`sys.path`.
998997

Lib/importlib/_bootstrap_external.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,7 @@ class NamespacePath:
10841084
10851085
It uses the module name to find its parent module, and from there it looks
10861086
up the parent's __path__. When this changes, the module's own path is
1087-
recomputed, using path_finder. The initial package path value is set to path.
1087+
recomputed, using path_finder. The initial value is set to path.
10881088
10891089
For top-level modules, the parent module's path is sys.path.
10901090
"""

0 commit comments

Comments
 (0)