[Python-checkins] CVS: python/dist/src/Doc/tut tut.tex,1.118,1.119
Fred L. Drake
python-dev@python.org
Thu, 19 Oct 2000 20:03:21 -0700
Update of /cvsroot/python/python/dist/src/Doc/tut
In directory slayer.i.sourceforge.net:/tmp/cvs-serv13833/tut
Modified Files:
tut.tex
Log Message:
Update the display of some floating point values at the interactive prompt
to reflect current behavior.
This closes SourceForge bug #117305.
Made a reference to the library reference a hyperlink.
Fixed some minor markup nits.
Index: tut.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tut/tut.tex,v
retrieving revision 1.118
retrieving revision 1.119
diff -C2 -r1.118 -r1.119
*** tut.tex 2000/09/29 15:17:36 1.118
--- tut.tex 2000/10/20 03:03:18 1.119
***************
*** 1047,1052 ****
% Weird spacings happen here if the wrapping of the source text
% gets changed in the wrong way.
! is a substitute for the \emph{switch} or
! \emph{case} statements found in other languages.
--- 1047,1052 ----
% Weird spacings happen here if the wrapping of the source text
% gets changed in the wrong way.
! is a substitute for the \keyword{switch} or
! \keyword{case} statements found in other languages.
***************
*** 2601,2605 ****
>>> ps = repr(p)
>>> ps
! '[31.4, 40000]'
>>> # Converting a string adds string quotes and backslashes:
... hello = 'hello, world\n'
--- 2601,2605 ----
>>> ps = repr(p)
>>> ps
! '[31.400000000000002, 40000]'
>>> # Converting a string adds string quotes and backslashes:
... hello = 'hello, world\n'
***************
*** 2609,2613 ****
>>> # The argument of reverse quotes may be a tuple:
... `x, y, ('spam', 'eggs')`
! "(31.4, 40000, ('spam', 'eggs'))"
\end{verbatim}
--- 2609,2613 ----
>>> # The argument of reverse quotes may be a tuple:
... `x, y, ('spam', 'eggs')`
! "(31.400000000000002, 40000, ('spam', 'eggs'))"
\end{verbatim}
***************
*** 2968,2973 ****
it will not display lines read from standard input.
! The \emph{Python Library Reference} lists the built-in exceptions and
! their meanings.
--- 2968,2973 ----
it will not display lines read from standard input.
! The \citetitle[../lib/module-exceptions.html]{Python Library
! Reference} lists the built-in exceptions and their meanings.