Skip to content

Commit 06b8906

Browse files
committed
Link to module.__path__ in NamespacePath docs
Signed-off-by: Filipe Laíns <lains@riseup.net>
1 parent 0dd0520 commit 06b8906

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Doc/library/importlib.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -988,9 +988,10 @@ find and load modules.
988988
.. class:: NamespacePath(name, path, path_finder)
989989

990990
Represents a namespace package's path. It uses the module *name* to find its
991-
parent module, and from there it looks up the parent's ``__path__``. When
992-
this changes, the module's own path is recomputed, using *path_finder*. For
993-
top-level modules, the parent module's path is :data:`sys.path`.
991+
parent module, and from there it looks up the parent's
992+
:attr:`module.__path__`. When this changes, the module's own path is
993+
recomputed, using *path_finder*. For top-level modules, the parent module's
994+
path is :data:`sys.path`.
994995

995996

996997
.. class:: SourceFileLoader(fullname, path)

0 commit comments

Comments
 (0)