Skip to content

Commit

Permalink
Simplify docs text
Browse files Browse the repository at this point in the history
Signed-off-by: Filipe Laíns <[email protected]>
  • Loading branch information
FFY00 committed Nov 17, 2024
1 parent cd506a4 commit 6f441c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Doc/library/importlib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion Lib/importlib/_bootstrap_external.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand Down

0 comments on commit 6f441c4

Please sign in to comment.