[Python-checkins] python/nondist/peps pep-0302.txt,1.7,1.8

jvr@users.sourceforge.net jvr@users.sourceforge.net
Thu, 26 Dec 2002 11:03:25 -0800


Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1:/tmp/cvs-serv16225

Modified Files:
	pep-0302.txt 
Log Message:
one more subtlety

Index: pep-0302.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0302.txt,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** pep-0302.txt	26 Dec 2002 18:06:11 -0000	1.7
--- pep-0302.txt	26 Dec 2002 19:03:22 -0000	1.8
***************
*** 200,207 ****
      absolute import: it will look for a module named "eggs".  Dotted
      name imports work pretty much the same: if package "spam" does
!     "import eggs.bacon" (and "spam.eggs" exists), "spam.eggs.bacon" is
!     tried and if that fails "eggs.bacon" is tried.  (There are more
!     subtleties that are not described here, but these are not relevant
!     for implementers of the Importer Protocol.)
  
      Deeper down in the mechanism, a dotted name import is split up by
--- 200,207 ----
      absolute import: it will look for a module named "eggs".  Dotted
      name imports work pretty much the same: if package "spam" does
!     "import eggs.bacon" (and "spam.eggs" exists and is itself a
!     package), "spam.eggs.bacon" is tried.  If that fails "eggs.bacon" is
!     tried.  (There are more subtleties that are not described here, but
!     these are not relevant for implementers of the Importer Protocol.)
  
      Deeper down in the mechanism, a dotted name import is split up by