Improved wording.
This commit is contained in:
parent
ee5c92fc8b
commit
449b3f74b7
|
@ -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
|
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
|
holding a reference to it, then there is no restriction on how the
|
||||||
parent path is modified or replaced. For a top-level namespace
|
parent path is modified or replaced. For a top-level namespace
|
||||||
package, the lookup would be a module ``"sys"`` then its attribute
|
package, the lookup would be the module named ``"sys"`` then its
|
||||||
``"path"``. For a namespace package nested inside a module ``foo``,
|
attribute ``"path"``. For a namespace package nested inside a package
|
||||||
the lookup would be module ``"foo"`` then its attribute
|
``foo``, the lookup would be for the module named ``"foo"`` then its
|
||||||
``"__path__"``.
|
attribute ``"__path__"``.
|
||||||
|
|
||||||
|
|
||||||
Module reprs
|
Module reprs
|
||||||
|
|
Loading…
Reference in New Issue