[Python-checkins] CVS: python/dist/src/Doc/tut tut.tex,1.131,1.132

Fred L. Drake fdrake@users.sourceforge.net
Tue, 10 Apr 2001 21:38:36 -0700


Update of /cvsroot/python/python/dist/src/Doc/tut
In directory usw-pr-cvs1:/tmp/cvs-serv976/tut

Modified Files:
	tut.tex 
Log Message:

Based on a comment by Konrad Hinsen on python-list:
Change "EOF" to "end-of-file", on the premise that it is easier for
new programmers to understand (at least a little).

This does not attempt to explain "file or device attached to standard
input."


Index: tut.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tut/tut.tex,v
retrieving revision 1.131
retrieving revision 1.132
diff -C2 -r1.131 -r1.132
*** tut.tex	2001/04/03 17:41:56	1.131
--- tut.tex	2001/04/11 04:38:34	1.132
***************
*** 176,180 ****
  \file{/usr/local/python} is a popular alternative location.)
  
! Typing an \EOF{} character (\kbd{Control-D} on \UNIX,
  \kbd{Control-Z} on DOS or Windows) at the primary prompt causes the
  interpreter to exit with a zero exit status.  If that doesn't work,
--- 176,180 ----
  \file{/usr/local/python} is a popular alternative location.)
  
! Typing an end-of-file character (\kbd{Control-D} on \UNIX,
  \kbd{Control-Z} on DOS or Windows) at the primary prompt causes the
  interpreter to exit with a zero exit status.  If that doesn't work,
***************
*** 212,218 ****
  satisfied from \emph{file}.  Since this file has already been read
  until the end by the parser before the program starts executing, the
! program will encounter EOF immediately.  In the former case (which is
! usually what you want) they are satisfied from whatever file or device
! is connected to standard input of the Python interpreter.
  
  When a script file is used, it is sometimes useful to be able to run
--- 212,218 ----
  satisfied from \emph{file}.  Since this file has already been read
  until the end by the parser before the program starts executing, the
! program will encounter end-of-file immediately.  In the former case
! (which is usually what you want) they are satisfied from whatever file
! or device is connected to standard input of the Python interpreter.
  
  When a script file is used, it is sometimes useful to be able to run