[Python-checkins] python/dist/src/Doc/ref ref6.tex,1.67,1.68

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
Tue, 15 Jul 2003 15:02:28 -0700


Update of /cvsroot/python/python/dist/src/Doc/ref
In directory sc8-pr-cvs1:/tmp/cvs-serv17124

Modified Files:
	ref6.tex 
Log Message:
Indexing is a mess; try to get the link targets closer to the relevant
text.  There needs to be a better way.


Index: ref6.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref6.tex,v
retrieving revision 1.67
retrieving revision 1.68
diff -C2 -d -r1.67 -r1.68
*** ref6.tex	15 Jul 2003 21:37:58 -0000	1.67
--- ref6.tex	15 Jul 2003 22:02:21 -0000	1.68
***************
*** 661,676 ****
  \indexiii{module}{search}{path}
  
! If a built-in module is found, its built-in initialization code is
! executed and step (1) is finished.  If no matching file is found,
! \exception{ImportError} is raised.  If a file is found, it is parsed,
  yielding an executable code block.  If a syntax error occurs,
! \exception{SyntaxError} is raised.  Otherwise, an empty module of the given
! name is created and inserted in the module table, and then the code
! block is executed in the context of this module.  Exceptions during
! this execution terminate step (1).
! \indexii{module}{initialization}
! \exindex{SyntaxError}
! \exindex{ImportError}
! \index{code block}
  
  When step (1) finishes without raising an exception, step (2) can
--- 661,674 ----
  \indexiii{module}{search}{path}
  
! If a built-in module is found,\indexii{module}{initialization} its
! built-in initialization code is executed and step (1) is finished.  If
! no matching file is found,
! \exception{ImportError}\exindex{ImportError} is raised.
! \index{code block}If a file is found, it is parsed,
  yielding an executable code block.  If a syntax error occurs,
! \exception{SyntaxError}\exindex{SyntaxError} is raised.  Otherwise, an
! empty module of the given name is created and inserted in the module
! table, and then the code block is executed in the context of this
! module.  Exceptions during this execution terminate step (1).
  
  When step (1) finishes without raising an exception, step (2) can