Make it clear that the lookups are being done via strings.
This commit is contained in:
parent
ca0afff714
commit
a99e655130
|
@ -409,9 +409,9 @@ 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 module ``sys`` then attribute ``path``.
|
||||
For a namespace package nested inside a module ``foo``, the lookup
|
||||
would be module ``foo`` then attribute ``__path__``.
|
||||
package, the lookup would be a module ``"sys"`` then an attribute
|
||||
``"path"``. For a namespace package nested inside a module ``foo``,
|
||||
the lookup would be module ``"foo"`` then attribute ``"__path__"``.
|
||||
|
||||
|
||||
Module reprs
|
||||
|
|
Loading…
Reference in New Issue