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

Fred L. Drake fdrake@users.sourceforge.net
Wed, 11 Apr 2001 21:26:26 -0700


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

Modified Files:
	tut.tex 
Log Message:

Update to reflect the new string repr -- \n instead of \012.  This is the
only documentation file that appears to be affected by the change!


Index: tut.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tut/tut.tex,v
retrieving revision 1.132
retrieving revision 1.133
diff -C2 -r1.132 -r1.133
*** tut.tex	2001/04/11 04:38:34	1.132
--- tut.tex	2001/04/12 04:26:24	1.133
***************
*** 2623,2627 ****
  >>> hellos = `hello`
  >>> print hellos
! 'hello, world\012'
  >>> # The argument of reverse quotes may be a tuple:
  ... `x, y, ('spam', 'eggs')`
--- 2623,2627 ----
  >>> hellos = `hello`
  >>> print hellos
! 'hello, world\n'
  >>> # The argument of reverse quotes may be a tuple:
  ... `x, y, ('spam', 'eggs')`
***************
*** 2784,2788 ****
  \begin{verbatim}
  >>> f.read()
! 'This is the entire file.\012'
  >>> f.read()
  ''
--- 2784,2788 ----
  \begin{verbatim}
  >>> f.read()
! 'This is the entire file.\n'
  >>> f.read()
  ''
***************
*** 2799,2805 ****
  \begin{verbatim}
  >>> f.readline()
! 'This is the first line of the file.\012'
  >>> f.readline()
! 'Second line of the file\012'
  >>> f.readline()
  ''
--- 2799,2805 ----
  \begin{verbatim}
  >>> f.readline()
! 'This is the first line of the file.\n'
  >>> f.readline()
! 'Second line of the file\n'
  >>> f.readline()
  ''
***************
*** 2815,2819 ****
  \begin{verbatim}
  >>> f.readlines()
! ['This is the first line of the file.\012', 'Second line of the file\012']
  \end{verbatim}
  
--- 2815,2819 ----
  \begin{verbatim}
  >>> f.readlines()
! ['This is the first line of the file.\n', 'Second line of the file\n']
  \end{verbatim}