[Python-checkins] python/dist/src/Doc/ref ref6.tex,1.65,1.66

rhettinger@users.sourceforge.net rhettinger@users.sourceforge.net
Tue, 17 Jun 2003 18:32:27 -0700


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

Modified Files:
	ref6.tex 
Log Message:
SF patch #751038 fixing SF bug#750092: exec doesn't need newline

Patch contributed by Steven Taschuk.




Index: ref6.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref6.tex,v
retrieving revision 1.65
retrieving revision 1.66
diff -C2 -d -r1.65 -r1.66
*** ref6.tex	29 May 2003 02:17:23 -0000	1.65
--- ref6.tex	18 Jun 2003 01:32:24 -0000	1.66
***************
*** 897,906 ****
  \bifuncindex{locals}
  
- Also, in the current implementation, multi-line compound statements must
- end with a newline:
- \code{exec "for v in seq:\e{}n\e{}tprint v\e{}n"} works, but
- \code{exec "for v in seq:\e{}n\e{}tprint v"} fails with
- \exception{SyntaxError}.
- \exindex{SyntaxError}
    
  
--- 897,900 ----