Improved wording.

This commit is contained in:
Eric V. Smith 2012-05-23 08:20:02 -04:00
parent ee5c92fc8b
commit 449b3f74b7
1 changed files with 4 additions and 4 deletions

View File

@ -409,10 +409,10 @@ In the same thread [8]_, it was pointed out that this restriction is
not required. If the parent path is looked up by name instead of by
holding a reference to it, then there is no restriction on how the
parent path is modified or replaced. For a top-level namespace
package, the lookup would be a module ``"sys"`` then its attribute
``"path"``. For a namespace package nested inside a module ``foo``,
the lookup would be module ``"foo"`` then its attribute
``"__path__"``.
package, the lookup would be the module named ``"sys"`` then its
attribute ``"path"``. For a namespace package nested inside a package
``foo``, the lookup would be for the module named ``"foo"`` then its
attribute ``"__path__"``.
Module reprs