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

Fred L. Drake fdrake@users.sourceforge.net
Mon, 21 May 2001 10:03:00 -0700


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

Modified Files:
      Tag: release21-maint
	tut.tex 
Log Message:

Update output to reflect additional precision produced by the repr() of
floating point numbers in an interactive example.

This closes SF bug #419434.


Index: tut.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tut/tut.tex,v
retrieving revision 1.133.2.1
retrieving revision 1.133.2.2
diff -C2 -r1.133.2.1 -r1.133.2.2
*** tut.tex	2001/04/25 20:59:47	1.133.2.1
--- tut.tex	2001/05/21 17:02:57	1.133.2.2
***************
*** 2610,2617 ****
  \begin{verbatim}
  >>> x = 10 * 3.14
! >>> y = 200*200
  >>> s = 'The value of x is ' + `x` + ', and y is ' + `y` + '...'
  >>> print s
! The value of x is 31.4, and y is 40000...
  >>> # Reverse quotes work on other types besides numbers:
  ... p = [x, y]
--- 2610,2617 ----
  \begin{verbatim}
  >>> x = 10 * 3.14
! >>> y = 200 * 200
  >>> s = 'The value of x is ' + `x` + ', and y is ' + `y` + '...'
  >>> print s
! The value of x is 31.400000000000002, and y is 40000...
  >>> # Reverse quotes work on other types besides numbers:
  ... p = [x, y]