Commits

ericvsmith  committed 9a340ae

Make it clear that the lookups are being done via strings.

  • Participants
  • Parent commits 9ba1568

Comments (0)

Files changed (1)

File pep-0420.txt

 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